r21275 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Mon May 2 20:58:32 UTC 2016


Author: fschmid
Date: Mon May  2 20:58:32 2016
New Revision: 21275

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21275
Log:
Fixed Bug #13204: Unusably tiny tool icons on HiDPI screen on Ubuntu Unity desktop
applied patch from Khaled Hosny <khaledhosny at eglug.org>

Modified:
    trunk/Scribus/scribus/main_nix.cpp

Modified: trunk/Scribus/scribus/main_nix.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21275&path=/trunk/Scribus/scribus/main_nix.cpp
==============================================================================
--- trunk/Scribus/scribus/main_nix.cpp	(original)
+++ trunk/Scribus/scribus/main_nix.cpp	Mon May  2 20:58:32 2016
@@ -67,7 +67,9 @@
 int mainApp(int argc, char **argv)
 {
 	emergencyActivated=false;
-
+#if QT_VERSION >= 0x050600
+	ScribusQApp::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
 	ScribusQApp app(argc, argv);
 	initCrashHandler();
 	app.parseCommandLine();




More information about the scribus-commit mailing list