summaryrefslogtreecommitdiffstats
path: root/akregator/src/feed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feed.cpp')
-rw-r--r--akregator/src/feed.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/feed.cpp b/akregator/src/feed.cpp
index 3b0d81035..7e7f59e80 100644
--- a/akregator/src/feed.cpp
+++ b/akregator/src/feed.cpp
@@ -445,7 +445,7 @@ void Feed::appendArticles(const RSS::Document &doc)
RSS::Article::List::ConstIterator en = d_articles.end();
int nudge=0;
-
+
TQValueList<Article> deletedArticles = d->deletedArticles;
for (it = d_articles.begin(); it != en; ++it)
@@ -460,21 +460,21 @@ void Feed::appendArticles(const RSS::Document &doc)
TQValueList<ArticleInterceptor*> interceptors = ArticleInterceptorManager::self()->interceptors();
for (TQValueList<ArticleInterceptor*>::ConstIterator it = interceptors.begin(); it != interceptors.end(); ++it)
(*it)->processArticle(mya);
-
+
d->addedArticlesNotify.append(mya);
-
+
if (!mya.isDeleted() && !markImmediatelyAsRead())
mya.setStatus(Article::New);
else
mya.setStatus(Article::Read);
-
+
changed = true;
}
else // article is in list
{
// if the article's guid is no hash but an ID, we have to check if the article was updated. That's done by comparing the hash values.
Article old = d->articles[(*it).guid()];
- Article mya(*it, this);
+ Article mya(*it, this);
if (!mya.guidIsHash() && mya.hash() != old.hash() && !old.isDeleted())
{
mya.setKeep(old.keep());
@@ -491,7 +491,7 @@ void Feed::appendArticles(const RSS::Document &doc)
}
else if (old.isDeleted())
deletedArticles.remove(mya);
- }
+ }
}
TQValueList<Article>::ConstIterator dit = deletedArticles.begin();