Fix: Font size on Android

This commit is contained in:
Dorian Zedler 2022-08-14 17:53:35 +02:00
parent 05bce5e97d
commit 6ca5b81f6d
Signed by: dorian
GPG Key ID: 989DE36109AFA354
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ int main(int argc, char *argv[])
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QGuiApplication app(argc, argv);
QFont f = app.font();
f.setPixelSize(16);
app.setFont(f);
// translation
QString localeName = QLocale::system().bcp47Name();