diff options
author | Weblate <noreply@weblate.org> | 2017-08-02 21:00:16 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-08-02 21:00:16 +0000 |
commit | 3d511a0f8285088eba24cb22b15cda039d27f6a0 (patch) | |
tree | 2eccf8b44a5e9862e6733880c37d57a9af74b41a /src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp | |
parent | Translated using Weblate (Spanish) (diff) | |
parent | Fix up the screensaver animation crashes *again*. (diff) | |
download | lumina-3d511a0f8285088eba24cb22b15cda039d27f6a0.tar.gz lumina-3d511a0f8285088eba24cb22b15cda039d27f6a0.tar.bz2 lumina-3d511a0f8285088eba24cb22b15cda039d27f6a0.zip |
Merge remote-tracking branch 'origin/master'
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.cpp | 12 |
1 files changed, 3 insertions, 9 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 55d0fc36..4c1b89fa 100644 --- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp +++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/main.cpp @@ -22,15 +22,9 @@ int main(int argc, char **argv){ //checking environment 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(!QStyleFactory::keys().contains("lthemeengine-style")){ - errorMessages << app.translate("main", "Unable to find <b>liblthemeengine-style.so</b>"); - } + 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(!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>")); return 0; |