qt: Don't disable HiDPI scaling at all

This commit is contained in:
Cacodemon345
2022-02-09 20:57:58 +06:00
committed by GitHub
parent a1f027a242
commit bd6c92c592

View File

@@ -130,6 +130,7 @@ main_thread_fn()
int main(int argc, char* argv[]) {
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, false);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif