Browse Source

Build fix

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
e74b39f5af
  1. 2
      src/rss/rssfeed.cpp

2
src/rss/rssfeed.cpp

@ -296,7 +296,7 @@ void RssFeed::downloadMatchingArticleTorrents() { @@ -296,7 +296,7 @@ void RssFeed::downloadMatchingArticleTorrents() {
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()));
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
QBtSession::instance()->downloadUrlAndSkipDialog(torrent_url, matching_rule->savePath(), matching_rule->label());
}

Loading…
Cancel
Save