aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaThemes.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2016-09-27 16:14:37 +0000
committerWeblate <noreply@weblate.org>2016-09-27 16:14:37 +0000
commitc80736d2c8b43be05b67416438e99017a5ced3dc (patch)
treefb1974512932ede4c9a2e138cf603a50d6d112b9 /src-qt5/core/libLumina/LuminaThemes.cpp
parentTranslated using Weblate (l_TERMINAL@it (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-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.cpp4
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()){
bgstack15