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.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaThemes.cpp b/src-qt5/core/libLumina/LuminaThemes.cpp
index b6c18cf0..70cd221d 100644
--- a/src-qt5/core/libLumina/LuminaThemes.cpp
+++ b/src-qt5/core/libLumina/LuminaThemes.cpp
@@ -6,7 +6,7 @@
//===========================================
#include "LuminaThemes.h"
-#include "LuminaUtils.h"
+#include "LUtils.h"
#include "LuminaOS.h"
#include <QIcon>
#include <QFont>
@@ -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