mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-14 22:27:56 -04:00
Use Fusion theme on MacOS
This commit is contained in:
1 parent
c789351977
commit
bf03f70950
1 file changed
+8
@@ -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 |
|
||||
\*-----------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user