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:
parent
59e2a3e881
commit
916a6efa3e
1 changed files with 4 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue