From 46506f0a43ee607442f60f801032f195bd8d186b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 9 Apr 2022 17:02:25 -0400 Subject: [PATCH] Enable HighDPI scaling and HighDPI pixmaps --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index f5475cb..bd4b666 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,6 +11,9 @@ #include "gameinstaller.h" int main(int argc, char* argv[]) { + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QApplication app(argc, argv); #ifdef NDEBUG