Use Fusion theme on MacOS

This commit is contained in:
Adam Honse committed 2026-09-01 11:24:25 -05:00
1 parent c789351977
commit bf03f70950
1 file changed
+8
+8
View File
@@ -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 |
\*-----------------------------------------------------*/