diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a93b5ba65..b6f3e9c97 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -931,10 +931,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));