aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/main.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-09-16 08:40:01 -0400
committerKen Moore <moorekou@gmail.com>2015-09-16 08:40:01 -0400
commit5b8a7dd6f7851e22cbe0a37adfce3eafa0e95f04 (patch)
tree2d064de42273a3c0695dd043de71db44a5b8f5ed /lumina-desktop/main.cpp
parentHave lumina-config only load the thumbnail for the wallpaper image when that ... (diff)
downloadlumina-5b8a7dd6f7851e22cbe0a37adfce3eafa0e95f04.tar.gz
lumina-5b8a7dd6f7851e22cbe0a37adfce3eafa0e95f04.tar.bz2
lumina-5b8a7dd6f7851e22cbe0a37adfce3eafa0e95f04.zip
Make sure that the QT_QPA_PLATFORMTHEME environment variable is purged before starting up the Lumina session. That variable causes Qt to load other theme engines/plugins - preving the desktop from loading properly.
Diffstat (limited to 'lumina-desktop/main.cpp')
-rw-r--r--lumina-desktop/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/main.cpp b/lumina-desktop/main.cpp
index 2feaa4ad..1897fb2f 100644
--- a/lumina-desktop/main.cpp
+++ b/lumina-desktop/main.cpp
@@ -69,6 +69,7 @@ int main(int argc, char ** argv)
LXDG::setEnvironmentVars();
setenv("DESKTOP_SESSION","Lumina",1);
setenv("XDG_CURRENT_DESKTOP","Lumina",1);
+ unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default...
//Setup the log file
qDebug() << "Lumina Log File:" << logfile.fileName();
if(QFile::exists(logfile.fileName()+".old")){ QFile::remove(logfile.fileName()+".old"); }
bgstack15