aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaThemes.cpp
diff options
context:
space:
mode:
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