1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

Cosmetic changes to the article previewx tree

This commit is contained in:
Christophe Dumez 2010-11-13 20:21:49 +00:00
parent e11545c8a3
commit 9c13ed2635

View File

@ -454,6 +454,10 @@ void AutomatedRssDownloader::addFeedArticlesToTree(const RssFeed *feed, const QS
// If there is none, create it
if(!treeFeedItem) {
treeFeedItem = new QTreeWidgetItem(QStringList() << feed->getName());
QFont f = treeFeedItem->font(0);
f.setBold(true);
treeFeedItem->setFont(0, f);
treeFeedItem->setData(0, Qt::DecorationRole, QIcon(":/Icons/oxygen/folder.png"));
treeFeedItem->setData(0, Qt::UserRole, feed->getUrl());
ui->treeMatchingArticles->addTopLevelItem(treeFeedItem);
}