From 4d67170d3e3d1ea5004966a252ab7a36ba198cb8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 21 Aug 2009 18:02:35 +0000 Subject: [PATCH] - Fixed tiny bug in RSS feeds refreshing code --- src/rss.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rss.h b/src/rss.h index baae1cbc5..bf1c26b26 100644 --- a/src/rss.h +++ b/src/rss.h @@ -741,11 +741,12 @@ void feedIconChanged(QString url, QString icon_path); } void refreshOldFeeds(){ + qDebug("refresh old feeds"); RssStream *stream; foreach(stream, streams){ QString url = stream->getUrl(); - if(stream->isLoading()) return; - if(stream->getLastRefreshElapsed() != -1 && stream->getLastRefreshElapsed() < (int)refreshInterval) return; + if(stream->isLoading()) continue; + if(stream->getLastRefreshElapsed() != -1 && stream->getLastRefreshElapsed() < (int)refreshInterval) continue; qDebug("Refreshing old feed: %s...", (const char*)url.toLocal8Bit()); stream->setLoading(true); downloader->downloadUrl(url);