From 4322d38b8723a7de31630e939024566a9ce04408 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 7 Feb 2011 17:19:16 +0000 Subject: [PATCH] BUGFIX: Fix articles read state reset problem in RSS --- Changelog | 1 + src/rss/rss_imp.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 86ae0aecc..0519a224f 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ * Unreleased - Christophe Dumez - v2.6.6 - FEATURE: IP address reported to trackers is now customizable - BUGFIX: Use slashes instead of antislashes in URLs (Windows) + - BUGFIX: Fix articles read state reset problem in RSS - COSMETIC: Improve main window layout - COSMETIC: Improve properties buttons style - COSMETIC: Display pieces being downloaded in green instead of yellow diff --git a/src/rss/rss_imp.cpp b/src/rss/rss_imp.cpp index 267b7b755..6b49ef4b6 100644 --- a/src/rss/rss_imp.cpp +++ b/src/rss/rss_imp.cpp @@ -500,7 +500,7 @@ void RSSImp::refreshTextBrowser() { m_currentArticle = item; } RssFeed *stream = m_feedList->getRSSItemFromUrl(item->data(Article::FeedUrlRole).toString()); - RssArticle article = stream->getItem(item->data(Article::IdRole).toString()); + RssArticle &article = stream->getItem(item->data(Article::IdRole).toString()); QString html; html += "
"; html += "
"+article.title() + "
";