aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-07-31 13:54:16 -0400
committerKen Moore <ken@ixsystems.com>2017-07-31 13:54:16 -0400
commit96252f4e5af25f24c4e7232cc42c077894e03370 (patch)
tree557dc9783acbedcb6710cd78a0b705b32e67555d /src-qt5/desktop-utils/lumina-screenshot/main.cpp
parentAdd some commented-out code for changing theme engines (diff)
downloadlumina-96252f4e5af25f24c4e7232cc42c077894e03370.tar.gz
lumina-96252f4e5af25f24c4e7232cc42c077894e03370.tar.bz2
lumina-96252f4e5af25f24c4e7232cc42c077894e03370.zip
Fix the clearing of the QT_AUTO_SCREEN_SCALE_FACTOR variable on start of the screensaver
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/main.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-screenshot/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/main.cpp b/src-qt5/desktop-utils/lumina-screenshot/main.cpp
index c5a9e2c5..e49599bf 100644
--- a/src-qt5/desktop-utils/lumina-screenshot/main.cpp
+++ b/src-qt5/desktop-utils/lumina-screenshot/main.cpp
@@ -11,9 +11,9 @@
int main(int argc, char ** argv)
{
+ LTHEME::LoadCustomEnvSettings();
//Make sure Qt5 auto-scaling is disabled for this application (need exact pixel measurements)
unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR");
- LTHEME::LoadCustomEnvSettings();
LSingleApplication a(argc, argv, "l-screenshot");
if(!a.isPrimaryProcess()){ return 0; }
//LuminaThemeEngine theme(&a);
bgstack15