mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 06:54:20 +00:00
Fix RSS feed icon. The tmp file gets deleted in the feed destructor. Closes #1639
This commit is contained in:
parent
4376e81f78
commit
32becf1fca
@ -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…
x
Reference in New Issue
Block a user