Browse Source

- Fix regular refresh of RSS feeds

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
22ec528cdf
  1. 2
      src/GUI.cpp
  2. 1
      src/rss.cpp

2
src/GUI.cpp

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

1
src/rss.cpp

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

Loading…
Cancel
Save