]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Qt6: disable some Attributes
authortobtoht <thotbot@protonmail.com>
Tue, 24 May 2022 15:34:52 +0000 (17:34 +0200)
committertobtoht <thotbot@protonmail.com>
Tue, 24 May 2022 15:34:52 +0000 (17:34 +0200)
src/main.cpp

index 243b3f4b1267f6706a5cf9256de992936a39049f..477df63825fdc6482974f3f51daff77f60ee93f8 100644 (file)
@@ -114,8 +114,10 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
         constants::networkType = NetworkType::MAINNET;
 
     // Setup QApplication
+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
     QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
     QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
+#endif
     QApplication::setDesktopSettingsAware(true); // use system font
     QApplication::setApplicationVersion(FEATHER_VERSION);