mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Improve coding style
This commit is contained in:
parent
acad35c5bc
commit
c41df9ffbd
147 changed files with 4454 additions and 2227 deletions
|
@ -59,7 +59,8 @@ long SpeedLimitDialog::askSpeedLimit(QWidget *parent, bool *ok, const QString &t
|
|||
dlg.setWindowTitle(title);
|
||||
dlg.setupDialog((maxVal / 1024.), (defaultVal / 1024.));
|
||||
|
||||
if (dlg.exec() == QDialog::Accepted) {
|
||||
if (dlg.exec() == QDialog::Accepted)
|
||||
{
|
||||
if (ok) *ok = true;
|
||||
|
||||
const int val = dlg.getSpeedLimit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue