From 93bacc62f11db849ecca29bac287370ce04e79d0 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 3bc4e4189..967b4e70f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -930,10 +930,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));