mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
parent
e3ce9b2645
commit
2a0b104e5e
@ -494,10 +494,15 @@ void AppController::setPreferencesAction()
|
|||||||
// Save preferences
|
// Save preferences
|
||||||
pref->apply();
|
pref->apply();
|
||||||
|
|
||||||
RSS::Session::instance()->setRefreshInterval(m["RSSRefreshInterval"].toUInt());
|
QVariantMap::ConstIterator it;
|
||||||
RSS::Session::instance()->setMaxArticlesPerFeed(m["RSSMaxArticlesPerFeed"].toInt());
|
if ((it = m.find(QLatin1String("RSSRefreshInterval"))) != m.constEnd())
|
||||||
RSS::Session::instance()->setProcessingEnabled(m["RSSProcessingEnabled"].toBool());
|
RSS::Session::instance()->setRefreshInterval(it.value().toUInt());
|
||||||
RSS::AutoDownloader::instance()->setProcessingEnabled(m["RSSAutoDownloadingEnabled"].toBool());
|
if ((it = m.find(QLatin1String("RSSMaxArticlesPerFeed"))) != m.constEnd())
|
||||||
|
RSS::Session::instance()->setMaxArticlesPerFeed(it.value().toInt());
|
||||||
|
if ((it = m.find(QLatin1String("RSSProcessingEnabled"))) != m.constEnd())
|
||||||
|
RSS::Session::instance()->setProcessingEnabled(it.value().toBool());
|
||||||
|
if ((it = m.find(QLatin1String("RSSAutoDownloadingEnabled"))) != m.constEnd())
|
||||||
|
RSS::AutoDownloader::instance()->setProcessingEnabled(it.value().toBool());
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppController::defaultSavePathAction()
|
void AppController::defaultSavePathAction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user