Fix speedlimitdlg position

This commit is contained in:
Chocobo1 2015-10-26 16:38:54 +08:00
parent de54fa2c30
commit a902eb6b2b
6 changed files with 17 additions and 20 deletions

View file

@ -445,7 +445,7 @@ void TransferListWidget::setDlLimitSelectedTorrents()
bool ok = false;
const long newLimit = SpeedLimitDialog::askSpeedLimit(
&ok, tr("Torrent Download Speed Limiting"), oldLimit
this, &ok, tr("Torrent Download Speed Limiting"), oldLimit
, BitTorrent::Session::instance()->globalDownloadSpeedLimit());
if (!ok) return;
@ -470,7 +470,7 @@ void TransferListWidget::setUpLimitSelectedTorrents()
bool ok = false;
const long newLimit = SpeedLimitDialog::askSpeedLimit(
&ok, tr("Torrent Upload Speed Limiting"), oldLimit
this, &ok, tr("Torrent Upload Speed Limiting"), oldLimit
, BitTorrent::Session::instance()->globalUploadSpeedLimit());
if (!ok) return;