aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-03 10:48:19 -0400
committerKen Moore <ken@ixsystems.com>2017-08-03 14:04:05 -0400
commit8687a43803e0d5937ff5213ab987b05866498362 (patch)
tree5db21f221f37bb6f8fde8d2f2ffdb782471944cd /src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
parentMerge branch 'master' of http://github.com/trueos/lumina (diff)
downloadlumina-8687a43803e0d5937ff5213ab987b05866498362.tar.gz
lumina-8687a43803e0d5937ff5213ab987b05866498362.tar.bz2
lumina-8687a43803e0d5937ff5213ab987b05866498362.zip
Cleanup the lumina-theme-engine subproject
1. Use the built-in OS-detect.pri for build settings 2. Remove the "DISABLE_WIDGETS" flag (desktop always needs it) 3. Clean up the multi-path search routines for qss/color files 4. Add some color files to the default install
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
index 4c1b89fa..b0d5fe08 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp
@@ -23,7 +23,7 @@ int main(int argc, char **argv){
QStringList errorMessages;
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
if(env.contains("QT_STYLE_OVERRIDE")){ errorMessages << app.translate("main", "Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable"); }
- if(env.value("QT_QPA_PLATFORMTHEME") != "lthemeengine"){ errorMessages << app.translate("main", "The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly"); }
+ //if(env.value("QT_QPA_PLATFORMTHEME") != "lthemeengine"){ errorMessages << app.translate("main", "The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly"); }
if(!QStyleFactory::keys().contains("lthemeengine-style")){ errorMessages << app.translate("main", "Unable to find <b>liblthemeengine-style.so</b>"); }
if(!errorMessages.isEmpty()){
QMessageBox::critical(0, app.translate("main", "Error"), errorMessages.join("<br><br>"));
bgstack15