aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-03 14:09:25 -0400
committerKen Moore <ken@ixsystems.com>2017-08-03 14:09:25 -0400
commitea4633af10fdc9ad297bb453fd5dd26ac25448ff (patch)
tree1807936bc3f2e0d20fab0026b320894dd36bdb63 /src-qt5/core/lumina-desktop
parentCleanup some fallback routines for loading icons from the Qt theme methods. (diff)
downloadlumina-ea4633af10fdc9ad297bb453fd5dd26ac25448ff.tar.gz
lumina-ea4633af10fdc9ad297bb453fd5dd26ac25448ff.tar.bz2
lumina-ea4633af10fdc9ad297bb453fd5dd26ac25448ff.zip
Setup the Lumina 1.x desktop to use the new theme engine by default
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r--src-qt5/core/lumina-desktop/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/main.cpp b/src-qt5/core/lumina-desktop/main.cpp
index 1b0e5e4d..6017cad7 100644
--- a/src-qt5/core/lumina-desktop/main.cpp
+++ b/src-qt5/core/lumina-desktop/main.cpp
@@ -72,8 +72,8 @@ 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...
- //setenv("QT_QPA_PLATFORMTHEME", "lthemeengine");
+ //unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default...
+ setenv("QT_QPA_PLATFORMTHEME", "lthemeengine", 1);
unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); //causes pixel-specific scaling issues with the desktop - turn this on after-the-fact for other apps
//Startup the session
LSession a(argc, argv);
bgstack15