mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
@@ -1170,8 +1170,8 @@ void MainWindow::showNotificationBaloon(QString title, QString msg) const {
|
|||||||
*****************************************************/
|
*****************************************************/
|
||||||
|
|
||||||
void MainWindow::downloadFromURLList(const QStringList& url_list) {
|
void MainWindow::downloadFromURLList(const QStringList& url_list) {
|
||||||
QIniSettings settings;
|
Preferences pref;
|
||||||
const bool useTorrentAdditionDialog = settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool();
|
const bool useTorrentAdditionDialog = pref.useAdditionDialog();
|
||||||
foreach (QString url, url_list) {
|
foreach (QString url, url_list) {
|
||||||
if (url.startsWith("bc://bt/", Qt::CaseInsensitive)) {
|
if (url.startsWith("bc://bt/", Qt::CaseInsensitive)) {
|
||||||
qDebug("Converting bc link to magnet link");
|
qDebug("Converting bc link to magnet link");
|
||||||
|
|||||||
Reference in New Issue
Block a user