Browse Source

Fix RSS feed icon. The tmp file gets deleted in the feed destructor. Closes #1639

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
32becf1fca
  1. 1
      src/rss/rss_imp.cpp

1
src/rss/rss_imp.cpp

@ -629,7 +629,6 @@ void RSSImp::updateFeedIcon(const QString& url, const QString& iconPath)
{ {
QTreeWidgetItem* item = m_feedList->getTreeItemFromUrl(url); QTreeWidgetItem* item = m_feedList->getTreeItemFromUrl(url);
item->setData(0, Qt::DecorationRole, QVariant(QIcon(iconPath))); item->setData(0, Qt::DecorationRole, QVariant(QIcon(iconPath)));
fsutils::forceRemove(iconPath);
} }
void RSSImp::updateFeedInfos(const QString& url, const QString& display_name, uint nbUnread) void RSSImp::updateFeedInfos(const QString& url, const QString& display_name, uint nbUnread)

Loading…
Cancel
Save