1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

- Fix regular refresh of RSS feeds

This commit is contained in:
Christophe Dumez 2009-12-07 21:58:26 +00:00
parent ebf341a6de
commit 22ec528cdf
2 changed files with 2 additions and 1 deletions

View File

@ -749,7 +749,7 @@ void GUI::loadPreferences(bool configure_session) {
// RSS // RSS
if(Preferences::isRSSEnabled()) { if(Preferences::isRSSEnabled()) {
displayRSSTab(true); displayRSSTab(true);
rssWidget->updateRefreshInterval(Preferences::getRefreshInterval()); rssWidget->updateRefreshInterval(Preferences::getRSSRefreshInterval());
} else { } else {
displayRSSTab(false); displayRSSTab(false);
} }

View File

@ -301,6 +301,7 @@ void RssManager::updateRefreshInterval(unsigned int val){
if(refreshInterval != val) { if(refreshInterval != val) {
refreshInterval = val; refreshInterval = val;
newsRefresher.start(refreshInterval*60000); newsRefresher.start(refreshInterval*60000);
qDebug("New RSS refresh interval is now every %dmin", refreshInterval);
} }
} }