From 542338972a089306460f87d33c483e8b3c506e58 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 29 Nov 2009 09:17:55 +0000 Subject: [PATCH] - Explicitely delete "unread" RSS item although Qt should be taking care of it --- src/feedList.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/feedList.h b/src/feedList.h index 3606e93c3..8e6daee89 100644 --- a/src/feedList.h +++ b/src/feedList.h @@ -36,6 +36,10 @@ public: setCurrentItem(unread_item); } + ~FeedList() { + delete unread_item; + } + void itemAdded(QTreeWidgetItem *item, RssFile* file) { mapping[item] = file; if(file->getType() == RssFile::STREAM) {