mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 01:15:07 -04:00
little fix
This commit is contained in:
@ -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"));
|
||||
|
Reference in New Issue
Block a user