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

View file

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