mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
parent
4ba5e43933
commit
4af28bfe81
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user