From 2df465e3e5a0f8915a4734191d49151184b603aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 10 Jun 2014 23:25:46 +0200 Subject: [PATCH] little fix --- YACReaderLibrary/db/treemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/db/treemodel.cpp b/YACReaderLibrary/db/treemodel.cpp index 8ccc4e29..aff6d801 100644 --- a/YACReaderLibrary/db/treemodel.cpp +++ b/YACReaderLibrary/db/treemodel.cpp @@ -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"));