diff --git a/YACReaderLibrary/db/treemodel.cpp b/YACReaderLibrary/db/treemodel.cpp index b207edc8..fa4d190e 100644 --- a/YACReaderLibrary/db/treemodel.cpp +++ b/YACReaderLibrary/db/treemodel.cpp @@ -101,7 +101,11 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const return QVariant(); if (role == Qt::DecorationRole) +#ifdef Q_OS_MAC + return QVariant(QIcon(":/images/folder_macosx.png")); +#else return QVariant(QIcon(":/images/folder.png")); +#endif if (role != Qt::DisplayRole) return QVariant(); diff --git a/YACReaderLibrary/images.qrc b/YACReaderLibrary/images.qrc index 8dae198e..084c020b 100644 --- a/YACReaderLibrary/images.qrc +++ b/YACReaderLibrary/images.qrc @@ -100,5 +100,6 @@ ../images/main_toolbar/fullscreen.png ../images/collapsed_branch_osx.png ../images/expanded_branch_osx.png + ../images/folder_macosx.png diff --git a/images/folder_macosx.png b/images/folder_macosx.png new file mode 100644 index 00000000..71d84e2f Binary files /dev/null and b/images/folder_macosx.png differ