mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Always override AddTorrentsInPause setting when downloading in the background.
This commit is contained in:
@@ -278,7 +278,7 @@ bool AddNewTorrentDialog::loadMagnet(const QString &magnet_uri)
|
|||||||
|
|
||||||
// Temporary override of addInPause setting
|
// Temporary override of addInPause setting
|
||||||
bool old_addInPause = pref.addTorrentsInPause();
|
bool old_addInPause = pref.addTorrentsInPause();
|
||||||
pref.addTorrentsInPause(!ui->start_torrent_cb->isChecked());
|
pref.addTorrentsInPause(false);
|
||||||
pref.sync();
|
pref.sync();
|
||||||
|
|
||||||
QBtSession::instance()->addMagnetUri(m_url, false);
|
QBtSession::instance()->addMagnetUri(m_url, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user