From 29537fea3cb10fad9a156ac3b321a5c1450f2c11 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 9 Jun 2020 16:18:14 +1000 Subject: [PATCH] app: don't use hidpi application attribute This seems to cause issues on various platforms and isn't required a lot of the time: * macOS doesn't need this since the HiDPI setting is in the bundle's Info.plist * Windows doesn't need this, in fact it seems to make fractional HiDPI worse * Linux... who knows how to get HiDPI working on Linux --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index 8713f4d96..e87f1fd34 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -50,7 +50,7 @@ int main(int argc, char *argv[]) { format.setProfile(QSurfaceFormat::CoreProfile); QSurfaceFormat::setDefaultFormat(format); - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); // Create application instance