aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-03 12:25:14 -0400
committerKen Moore <ken@ixsystems.com>2017-08-03 14:04:05 -0400
commit9787abdd5bc1378c7252ae710dc58ad582b447df (patch)
tree0552f7e557298527cc2f50a436620de2be7c9966 /src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
parentCleanup the lumina-theme-engine subproject (diff)
downloadlumina-9787abdd5bc1378c7252ae710dc58ad582b447df.tar.gz
lumina-9787abdd5bc1378c7252ae710dc58ad582b447df.tar.bz2
lumina-9787abdd5bc1378c7252ae710dc58ad582b447df.zip
Fix up a bit more of the lumina-theme-engine
1. Adjust the build directories for all projects 2. Add lumina-theme-engine to the "core" meta-project 3. flip the names of the "dusk" and "darker" color schemes 4. Add a simple drop-down menu for standard colors when editing a stylesheet 5. Ensure the find colors/qss routines skip duplicate directory entries
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
index 414273be..2cf0f221 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.cpp
@@ -105,7 +105,8 @@ void QSSPage::readSettings(){
}
}
-void QSSPage::findStyleSheets(const QStringList &paths){
+void QSSPage::findStyleSheets(QStringList paths){
+ paths.removeDuplicates();
for(int i=0; i<paths.length(); i++){
if(!QFile::exists(paths[i])){ continue; }
QDir dir(paths[i]);
bgstack15