From 916a6efa3e9cc45e956da6149a66d37a86ba38f9 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Sat, 28 Nov 2015 14:35:58 +0000 Subject: [PATCH] Improve Qt client appearance on hidpi screens a bit --- qt/Application.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qt/Application.cc b/qt/Application.cc index f3c4a4f4d..6b23c95bc 100644 --- a/qt/Application.cc +++ b/qt/Application.cc @@ -101,6 +101,10 @@ Application::Application (int& argc, char ** argv): Formatter::initUnits (); +#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) + setAttribute (Qt::AA_UseHighDpiPixmaps); +#endif + #if defined (_WIN32) || defined (__APPLE__) if (QIcon::themeName ().isEmpty ()) QIcon::setThemeName (QLatin1String ("Faenza"));