mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 06:13:36 -07:00
parent
731963ef31
commit
52b1cdce6f
1 changed files with 2 additions and 2 deletions
|
@ -1172,8 +1172,8 @@ void MainWindow::showNotificationBaloon(QString title, QString msg) const {
|
|||
*****************************************************/
|
||||
|
||||
void MainWindow::downloadFromURLList(const QStringList& url_list) {
|
||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
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…
Add table
Add a link
Reference in a new issue