Control via themes when do we have to use native icons for folders.

This commit is contained in:
Luis Ángel San Martín
2018-09-10 12:16:22 +02:00
committed by Luis Ángel San Martín
parent 4216717d07
commit 797d7aa723
2 changed files with 23 additions and 15 deletions

View File

@ -20,6 +20,8 @@ public:
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#91c4f4; border-bottom:1px solid #91c4f4;";
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent;";
t.useNativeFolderIcons = true;
} else {
t.isMacosNative = false;
@ -29,6 +31,8 @@ public:
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#2E2E2E; font-weight:bold;";
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent; color:#DDDFDF;";
t.useNativeFolderIcons = false;
}
return t;
@ -45,6 +49,9 @@ public:
//library item
QString itemLibrarySelectedStyleSheet;
QString itemLibraryNoSelectedStyleSheet;
//tree folders
bool useNativeFolderIcons;
};
#endif // THEME_H