mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 19:34:17 +00:00
- Added an icon for articles without attachment
This commit is contained in:
parent
6f89b1f131
commit
5d31dcdb15
@ -85,6 +85,7 @@
|
|||||||
<file>Icons/oxygen/encrypted.png</file>
|
<file>Icons/oxygen/encrypted.png</file>
|
||||||
<file>Icons/oxygen/edit_clear.png</file>
|
<file>Icons/oxygen/edit_clear.png</file>
|
||||||
<file>Icons/oxygen/download.png</file>
|
<file>Icons/oxygen/download.png</file>
|
||||||
|
<file>Icons/oxygen/application-x-kgetlist-no.png</file>
|
||||||
<file>Icons/oxygen/gear.png</file>
|
<file>Icons/oxygen/gear.png</file>
|
||||||
<file>Icons/oxygen/remove.png</file>
|
<file>Icons/oxygen/remove.png</file>
|
||||||
<file>Icons/oxygen/browse.png</file>
|
<file>Icons/oxygen/browse.png</file>
|
||||||
|
@ -437,6 +437,8 @@ void RSSImp::refreshNewsList(QTreeWidgetItem* item) {
|
|||||||
it->setText(2, article->getTitle());
|
it->setText(2, article->getTitle());
|
||||||
if(article->has_attachment())
|
if(article->has_attachment())
|
||||||
it->setData(1, Qt::DecorationRole, QVariant(QIcon(":/Icons/oxygen/application-x-kgetlist.png")));
|
it->setData(1, Qt::DecorationRole, QVariant(QIcon(":/Icons/oxygen/application-x-kgetlist.png")));
|
||||||
|
else
|
||||||
|
it->setData(1, Qt::DecorationRole, QVariant(QIcon(":/Icons/oxygen/application-x-kgetlist-no.png")));
|
||||||
it->setText(3, article->getParent()->getUrl());
|
it->setText(3, article->getParent()->getUrl());
|
||||||
if(article->isRead()){
|
if(article->isRead()){
|
||||||
it->setData(2, Qt::ForegroundRole, QVariant(QColor("grey")));
|
it->setData(2, Qt::ForegroundRole, QVariant(QColor("grey")));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user