mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
little fix
This commit is contained in:
parent
c0b6b091c3
commit
2df465e3e5
@ -112,7 +112,7 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const
|
||||
#ifdef Q_OS_MAC
|
||||
return QVariant(QFileIconProvider().icon(QFileIconProvider::Folder)); //TODO draw a tick on top when it is needed
|
||||
#else
|
||||
if(!item->data(TreeModel::Finished).toBool())
|
||||
if(item->data(TreeModel::Finished).toBool())
|
||||
return QVariant(QIcon(":/images/folder_finished.png"));
|
||||
else
|
||||
return QVariant(QIcon(":/images/folder.png"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user