mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
- Fixed debug output
This commit is contained in:
parent
db9bc24b5f
commit
969d9d5f69
@ -441,13 +441,12 @@ class RssManager : public QObject{
|
|||||||
}
|
}
|
||||||
|
|
||||||
void refreshOldFeeds(){
|
void refreshOldFeeds(){
|
||||||
qDebug("Refreshing old rss feeds");
|
|
||||||
RssStream *stream;
|
RssStream *stream;
|
||||||
foreach(stream, streams){
|
foreach(stream, streams){
|
||||||
QString url = stream->getUrl();
|
QString url = stream->getUrl();
|
||||||
if(stream->isLoading()) return;
|
if(stream->isLoading()) return;
|
||||||
if(stream->getLastRefreshElapsed() < STREAM_REFRESH_INTERVAL) return;
|
if(stream->getLastRefreshElapsed() < STREAM_REFRESH_INTERVAL) return;
|
||||||
qDebug("Refreshing feed: %s...", (const char*)url.toUtf8());
|
qDebug("Refreshing old feed: %s...", (const char*)url.toUtf8());
|
||||||
stream->setLoading(true);
|
stream->setLoading(true);
|
||||||
downloader->downloadUrl(url);
|
downloader->downloadUrl(url);
|
||||||
if(!stream->hasCustomIcon()){
|
if(!stream->hasCustomIcon()){
|
||||||
|
Loading…
Reference in New Issue
Block a user