diff options
author | Weblate <noreply@weblate.org> | 2016-09-27 16:14:37 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2016-09-27 16:14:37 +0000 |
commit | c80736d2c8b43be05b67416438e99017a5ced3dc (patch) | |
tree | fb1974512932ede4c9a2e138cf603a50d6d112b9 /src-qt5/core/libLumina/LuminaThemes.cpp | |
parent | Translated using Weblate (l_TERMINAL@it (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-c80736d2c8b43be05b67416438e99017a5ced3dc.tar.gz lumina-c80736d2c8b43be05b67416438e99017a5ced3dc.tar.bz2 lumina-c80736d2c8b43be05b67416438e99017a5ced3dc.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/libLumina/LuminaThemes.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaThemes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaThemes.cpp b/src-qt5/core/libLumina/LuminaThemes.cpp index b6c18cf0..03dfb771 100644 --- a/src-qt5/core/libLumina/LuminaThemes.cpp +++ b/src-qt5/core/libLumina/LuminaThemes.cpp @@ -15,6 +15,8 @@ #include <QPainter> #include <QPen> +#include "LuminaXDG.h" + #include <unistd.h> //Stuff necesary for Qt Cursor Reloads @@ -292,6 +294,8 @@ QStringList LTHEME::CustomEnvSettings(bool useronly){ //view all the key=value s } void LTHEME::LoadCustomEnvSettings(){ + //Also ensure that the normal XDG_* environment variables are setup (will not overwrite them if already there) + LXDG::setEnvironmentVars(); //will push the custom settings into the environment (recommended before loading the initial QApplication) QStringList info = LTHEME::CustomEnvSettings(false); //all settings if(info.isEmpty()){ |