From 4af28bfe819791f3e732fa5d0a69eb799ca938ed Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 1 Apr 2013 21:37:36 +0300 Subject: [PATCH] Really fix issue #405 and #536. --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 87f2bb816..51030de16 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1170,8 +1170,8 @@ void MainWindow::showNotificationBaloon(QString title, QString msg) const { *****************************************************/ void MainWindow::downloadFromURLList(const QStringList& url_list) { - QIniSettings settings; - const bool useTorrentAdditionDialog = settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool(); + Preferences pref; + const bool useTorrentAdditionDialog = pref.useAdditionDialog(); foreach (QString url, url_list) { if (url.startsWith("bc://bt/", Qt::CaseInsensitive)) { qDebug("Converting bc link to magnet link");