From f1c0ecf8415fc20e67e10d66ee8a4bc3316cc37a Mon Sep 17 00:00:00 2001 From: losh11 Date: Wed, 20 Mar 2024 00:50:24 +0000 Subject: [PATCH] revert "qt: Use "fusion" style on macOS Big Sur with old Qt" --- src/qt/bitcoin.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index d1ae18c23e..6817b646b4 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -51,7 +51,6 @@ #include #include #include -#include #if defined(QT_STATICPLUGIN) #include @@ -467,13 +466,6 @@ int GuiMain(int argc, char* argv[]) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif -#if (QT_VERSION <= QT_VERSION_CHECK(5, 9, 8)) && defined(Q_OS_MACOS) - const auto os_name = QSysInfo::prettyProductName(); - if (os_name.startsWith("macOS 11") || os_name.startsWith("macOS 10.16")) { - QApplication::setStyle("fusion"); - } -#endif - BitcoinApplication app; /// 2. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these