From bf03f709503a4f2da49a63d47e9058016ce2f72a Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 1 Sep 2026 11:24:25 -0500 Subject: [PATCH] Use Fusion theme on MacOS --- qt/OpenRGBDialog/OpenRGBDialog.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qt/OpenRGBDialog/OpenRGBDialog.cpp b/qt/OpenRGBDialog/OpenRGBDialog.cpp index 853959581..cdbf39a05 100644 --- a/qt/OpenRGBDialog/OpenRGBDialog.cpp +++ b/qt/OpenRGBDialog/OpenRGBDialog.cpp @@ -149,6 +149,14 @@ OpenRGBDialog::OpenRGBDialog(QWidget *parent) : QMainWindow(parent), ui(new Ui:: { ui->setupUi(this); +#ifdef __APPLE__ + /*-----------------------------------------------------*\ + | Apply Qt Fusion theme on MacOS, as the MacOS as the | + | default theme does not handle vertical tabs well | + \*-----------------------------------------------------*/ + QApplication::setStyle(QStyleFactory::create("Fusion")); +#endif + /*-----------------------------------------------------*\ | Set window icon | \*-----------------------------------------------------*/