Improve Qt client appearance on hidpi screens a bit

This commit is contained in:
Mike Gelfand
2015-11-28 14:35:58 +00:00
parent 59e2a3e881
commit 916a6efa3e

View File

@@ -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"));