diff --git a/gb.qt4/src/main.cpp b/gb.qt4/src/main.cpp index 543dc7c06..774c2aa7a 100644 --- a/gb.qt4/src/main.cpp +++ b/gb.qt4/src/main.cpp @@ -897,6 +897,15 @@ static void QT_Init(void) qApp->setStyle(new FixBreezeStyle); } } + else if (::strcmp(qApp->style()->metaObject()->className(), "Oxygen::Style") == 0) + { + char *env = getenv("GB_QT_NO_OXYGEN_FIX"); + if (!env || atoi(env) == 0) + { + CSTYLE_fix_breeze = TRUE; + qApp->setStyle(new FixBreezeStyle); + } + } MAIN_update_scale(qApp->desktop()->font());