mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Improve Qt client appearance on hidpi screens a bit
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user