aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-08-06 00:02:16 +0000
committerWeblate <noreply@weblate.org>2017-08-06 00:02:16 +0000
commitb1df5e55259c76e6ca963cf0af25e20ee4a1897d (patch)
tree770cbcbc98cc24416d43282ca7f37c1a3cd7309a /src-qt5/core/lumina-desktop
parentTranslated using Weblate (French) (diff)
parentMake sure the "start-lumina-desktop" routine will detect/adjust the X11 Displ... (diff)
downloadlumina-b1df5e55259c76e6ca963cf0af25e20ee4a1897d.tar.gz
lumina-b1df5e55259c76e6ca963cf0af25e20ee4a1897d.tar.bz2
lumina-b1df5e55259c76e6ca963cf0af25e20ee4a1897d.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r--src-qt5/core/lumina-desktop/main.cpp4
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp2
2 files changed, 3 insertions, 3 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);
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp b/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp
index bdf9b27e..db661841 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp
@@ -102,7 +102,7 @@ void LClock::updateTime(bool adjustformat){
lwid = metrics.width(lines[i]);
if(lwid>wid){ wid = lwid; }
}
- this->setMinimumWidth( wid - (4*metrics.width("O")) );
+ this->setMinimumWidth(wid);
this->setMaximumWidth(wid + (4*metrics.width("O")));
}else{
//vertical layout
bgstack15