aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-03-16 06:54:13 -0400
committerKen Moore <ken@ixsystems.com>2019-03-16 06:54:13 -0400
commitec0b8883e88b2c3522bb7a2ae8cb21888b4fb0e6 (patch)
treec6eab450998fe4bb1747204a56dd1f7e2b0cf196
parentA couple quick changes to lumina-fm: (diff)
downloadlumina-ec0b8883e88b2c3522bb7a2ae8cb21888b4fb0e6.tar.gz
lumina-ec0b8883e88b2c3522bb7a2ae8cb21888b4fb0e6.tar.bz2
lumina-ec0b8883e88b2c3522bb7a2ae8cb21888b4fb0e6.zip
Ensure that the theme engine and Qt-no-glib environment variables are always checked/set by lumina-open
-rw-r--r--src-qt5/core/libLumina/LuminaXDG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp
index c6a81dbf..4093a8d4 100644
--- a/src-qt5/core/libLumina/LuminaXDG.cpp
+++ b/src-qt5/core/libLumina/LuminaXDG.cpp
@@ -855,6 +855,8 @@ void LXDG::setEnvironmentVars(){
setenv("XDG_DATA_DIRS","/usr/local/share:/usr/share", 0);
setenv("XDG_CONFIG_DIRS","/etc/xdg:/usr/local/etc/xdg", 0);
setenv("XDG_CACHE_HOME",QString(QDir::homePath()+"/.cache").toUtf8(), 0);
+ setenv("QT_QPA_PLATFORMTHEME", "lthemeengine", 0);
+ setenv("QT_NO_GLIB","1",0);
//Don't set "XDG_RUNTIME_DIR" yet - need to look into the specs
}
bgstack15