mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
committed by
Vladimir Golovnev (Glassez)
parent
c0e0e36d10
commit
daaaa11f93
@@ -104,7 +104,7 @@ void ArticleListWidget::handleArticleRead(RSS::Article *rssArticle)
|
||||
|
||||
const QBrush foregroundBrush {UIThemeManager::instance()->getColor(u"RSS.ReadArticle"_s)};
|
||||
item->setData(Qt::ForegroundRole, foregroundBrush);
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"loading"_s, u"sphere"_s));
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"rss_read_article"_s, u"sphere"_s));
|
||||
|
||||
checkInvariant();
|
||||
}
|
||||
@@ -131,13 +131,13 @@ QListWidgetItem *ArticleListWidget::createItem(RSS::Article *article) const
|
||||
{
|
||||
const QBrush foregroundBrush {UIThemeManager::instance()->getColor(u"RSS.ReadArticle"_s)};
|
||||
item->setData(Qt::ForegroundRole, foregroundBrush);
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"loading"_s, u"sphere"_s));
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"rss_read_article"_s, u"sphere"_s));
|
||||
}
|
||||
else
|
||||
{
|
||||
const QBrush foregroundBrush {UIThemeManager::instance()->getColor(u"RSS.UnreadArticle"_s)};
|
||||
item->setData(Qt::ForegroundRole, foregroundBrush);
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"loading"_s, u"sphere"_s));
|
||||
item->setData(Qt::DecorationRole, UIThemeManager::instance()->getIcon(u"rss_unread_article"_s, u"sphere"_s));
|
||||
}
|
||||
|
||||
return item;
|
||||
|
||||
@@ -149,6 +149,8 @@ inline QSet<QString> defaultUIThemeIcons()
|
||||
u"queued"_s,
|
||||
u"ratio"_s,
|
||||
u"reannounce"_s,
|
||||
u"rss_read_article"_s,
|
||||
u"rss_unread_article"_s,
|
||||
u"security-high"_s,
|
||||
u"security-low"_s,
|
||||
u"set-location"_s,
|
||||
|
||||
@@ -331,6 +331,8 @@
|
||||
<file>queued.svg</file>
|
||||
<file>ratio.svg</file>
|
||||
<file>reannounce.svg</file>
|
||||
<file>rss_read_article.png</file>
|
||||
<file>rss_unread_article.png</file>
|
||||
<file>security-high.svg</file>
|
||||
<file>security-low.svg</file>
|
||||
<file>set-location.svg</file>
|
||||
|
||||
BIN
src/icons/rss_read_article.png
Normal file
BIN
src/icons/rss_read_article.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 250 B |
BIN
src/icons/rss_unread_article.png
Normal file
BIN
src/icons/rss_unread_article.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 254 B |
Reference in New Issue
Block a user