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

This commit is contained in:
sledgehammer999 2014-05-04 13:59:17 +03:00
parent 4376e81f78
commit 32becf1fca

View file

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