mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
new folder for macosx
This commit is contained in:
parent
bf2b161307
commit
f0c5d125a4
@ -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();
|
||||
|
@ -100,5 +100,6 @@
|
||||
<file>../images/main_toolbar/fullscreen.png</file>
|
||||
<file>../images/collapsed_branch_osx.png</file>
|
||||
<file>../images/expanded_branch_osx.png</file>
|
||||
<file>../images/folder_macosx.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
images/folder_macosx.png
Normal file
BIN
images/folder_macosx.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user