[Pkg-owncloud-commits] [owncloud-client] 69/121: Fix windows HiDPI #4994 (#4998)
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Jul 28 15:31:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit b4d26ba952e4e0093eadeb87fbd8d6776cc3c327
Author: ckamm <mail at ckamm.de>
Date: Mon Jun 27 16:17:58 2016 +0200
Fix windows HiDPI #4994 (#4998)
This was removed in 0194ebb2229adc33f5b9790231a3384b46474bde
because it breaks on Linux. However, it looks like it is correct
for Windows. In the meantime the surrounding ifdef has changed
from !Q_OS_MAC to Q_OS_WIN, so reverting it makes sense.
---
src/gui/main.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index d575344..003fcfd 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -58,6 +58,8 @@ int main(int argc, char **argv)
// not set this envoronment variable)
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
+#else
+ qputenv("QT_DEVICE_PIXEL_RATIO", "auto"); // See #4840, #4994
#endif
#endif // !Q_OS_WIN
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list