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:
parent
ebf341a6de
commit
22ec528cdf
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user