Really fix issue #405 and #536.

This commit is contained in:
sledgehammer999 2013-04-01 21:37:36 +03:00
parent 4ba5e43933
commit 4af28bfe81

View File

@ -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");