mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Build fix
This commit is contained in:
@@ -296,7 +296,7 @@ void RssFeed::downloadMatchingArticleTorrents() {
|
|||||||
QString torrent_url = article->hasAttachment() ? article->torrentUrl() : article->link();
|
QString torrent_url = article->hasAttachment() ? article->torrentUrl() : article->link();
|
||||||
QBtSession::instance()->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(article->title()).arg(displayName()));
|
QBtSession::instance()->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(article->title()).arg(displayName()));
|
||||||
if (torrent_url.startsWith("magnet:", Qt::CaseInsensitive))
|
if (torrent_url.startsWith("magnet:", Qt::CaseInsensitive))
|
||||||
QBtSession::instance()->addMagnetSkipAddDlg(torrent_url, matching_rule.savePath(), matching_rule.label());
|
QBtSession::instance()->addMagnetSkipAddDlg(torrent_url, matching_rule->savePath(), matching_rule->label());
|
||||||
else
|
else
|
||||||
QBtSession::instance()->downloadUrlAndSkipDialog(torrent_url, matching_rule->savePath(), matching_rule->label());
|
QBtSession::instance()->downloadUrlAndSkipDialog(torrent_url, matching_rule->savePath(), matching_rule->label());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user