mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 15:34:16 +00:00
Build fix
This commit is contained in:
parent
aaf3194670
commit
e74b39f5af
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user