From: tobtoht Date: Tue, 24 May 2022 15:34:52 +0000 (+0200) Subject: Qt6: disable some Attributes X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9d2da9b2f0389cb51a82a8e3fd0d358a25c4fc26;p=gamesguru%2Ffeather.git Qt6: disable some Attributes --- diff --git a/src/main.cpp b/src/main.cpp index 243b3f4b..477df638 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);