1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

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