mirror of
https://github.com/KDE/kasts.git
synced 2024-12-28 09:21:13 +01:00
Enable highdpi scaling
Otherwise everything is tiny on Windows
This commit is contained in:
parent
893c647c94
commit
d98bb3cc96
@ -65,6 +65,9 @@ int main(int argc, char *argv[])
|
||||
qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "1");
|
||||
}
|
||||
|
||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
QGuiApplication app(argc, argv);
|
||||
qInstallMessageHandler(myMessageHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user