- Take "RSS refresh interval" into consideration without restarting qBT

This commit is contained in:
Christophe Dumez 2009-11-15 08:53:33 +00:00
commit 3762c37517
6 changed files with 17 additions and 3 deletions

View file

@ -351,9 +351,9 @@ public:
return settings.value(QString::fromUtf8("Preferences/RSS/RSSEnabled"), false).toBool();
}
static int getRSSRefreshInterval() {
static unsigned int getRSSRefreshInterval() {
QSettings settings("qBittorrent", "qBittorrent");
return settings.value(QString::fromUtf8("Preferences/RSS/RSSRefresh"), 5).toInt();
return settings.value(QString::fromUtf8("Preferences/RSS/RSSRefresh"), 5).toUInt();
}
static int getRSSMaxArticlesPerFeed() {