From 9382de64d67567cfa735e46bd59b9e1886ab1720 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 8 Mar 2012 20:18:52 -0800 Subject: [PATCH] RSS downloader should not ignore "Do not start automatically" rule Closes #946910. --- src/qtlibtorrent/qbtsession.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 03f7a651b..41c92abe4 100644 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -2745,7 +2745,10 @@ void QBtSession::processDownloadedFile(QString url, QString file_path) { emit newDownloadedTorrent(file_path, url); } else { url_skippingDlg.removeAt(index); - addTorrent(file_path, false, url, false); + QTorrentHandle h = addTorrent(file_path, false, url, false); + // Pause torrent if necessary + if (h.is_valid() && addInPause && Preferences().useAdditionDialog()) + h.pause(); } }