From 9d2da9b2f0389cb51a82a8e3fd0d358a25c4fc26 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 24 May 2022 17:34:52 +0200 Subject: [PATCH] Qt6: disable some Attributes --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 243b3f4..477df63 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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);