From ec0b8883e88b2c3522bb7a2ae8cb21888b4fb0e6 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sat, 16 Mar 2019 06:54:13 -0400 Subject: Ensure that the theme engine and Qt-no-glib environment variables are always checked/set by lumina-open --- src-qt5/core/libLumina/LuminaXDG.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-qt5/core/libLumina') 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 } -- cgit