diff options
author | Ken Moore <ken@ixsystems.com> | 2017-05-31 12:38:36 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-05-31 12:38:36 -0400 |
commit | c682298b9e36766d09f97c6327ae0d5116a468f1 (patch) | |
tree | 09bf25c44ac0bf49c103fe2375d6a566bad77562 /src-qt5/desktop-utils | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-c682298b9e36766d09f97c6327ae0d5116a468f1.tar.gz lumina-c682298b9e36766d09f97c6327ae0d5116a468f1.tar.bz2 lumina-c682298b9e36766d09f97c6327ae0d5116a468f1.zip |
Another quick adjustment to the clock plugin sizing routine - seems to be working fine now.
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r-- | src-qt5/desktop-utils/lumina-screenshot/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/main.cpp b/src-qt5/desktop-utils/lumina-screenshot/main.cpp index 7ba9d2d5..c1d178a2 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/main.cpp +++ b/src-qt5/desktop-utils/lumina-screenshot/main.cpp @@ -11,6 +11,8 @@ int main(int argc, char ** argv) { + //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"); //LuminaThemeEngine theme(&a); |