mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
Merge pull request #543 from sledgehammer999/master
Really fix issue #405 and #536.
This commit is contained in:
commit
a2d3a1c41c
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue