Browse Source

- Explicitely delete "unread" RSS item although Qt should be taking care of it

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
542338972a
  1. 4
      src/feedList.h

4
src/feedList.h

@ -36,6 +36,10 @@ public:
setCurrentItem(unread_item); setCurrentItem(unread_item);
} }
~FeedList() {
delete unread_item;
}
void itemAdded(QTreeWidgetItem *item, RssFile* file) { void itemAdded(QTreeWidgetItem *item, RssFile* file) {
mapping[item] = file; mapping[item] = file;
if(file->getType() == RssFile::STREAM) { if(file->getType() == RssFile::STREAM) {

Loading…
Cancel
Save