Skip to content

Commit

Permalink
revert "qt: Use "fusion" style on macOS Big Sur with old Qt"
Browse files Browse the repository at this point in the history
  • Loading branch information
losh11 committed Mar 20, 2024
1 parent 3b590e9 commit f1c0ecf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <QtGlobal>

#if defined(QT_STATICPLUGIN)
#include <QtPlugin>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f1c0ecf

Please sign in to comment.