From e2bebdf57ba0d2adbe61f7038aac804de51994b1 Mon Sep 17 00:00:00 2001 From: Ivan Sorokin Date: Sun, 11 May 2014 19:30:15 +0400 Subject: [PATCH] fix issue #1674: AddNewTorrentDialog is shown again and again even if checkbox "dont ask me again" is set --- src/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1761f4e6d..73f19e2c6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -938,10 +938,9 @@ void MainWindow::on_actionOpen_triggered() { tr("Open Torrent Files"), settings.value(QString::fromUtf8("MainWindowLastDir"), QDir::homePath()).toString(), tr("Torrent Files")+QString::fromUtf8(" (*.torrent)")); if (!pathsList.empty()) { - const bool useTorrentAdditionDialog = pref.useAdditionDialog(); const uint listSize = pathsList.size(); for (uint i=0; iaddTorrent(pathsList.at(i));