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) {
// 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);
} }

1
src/rss.cpp

@ -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);
} }
} }

Loading…
Cancel
Save