diff --git a/src/libs/vmisc/theme/vtheme.cpp b/src/libs/vmisc/theme/vtheme.cpp index f49421615..0f940e8b8 100644 --- a/src/libs/vmisc/theme/vtheme.cpp +++ b/src/libs/vmisc/theme/vtheme.cpp @@ -230,7 +230,7 @@ void ActivateDefaultThemeWin() } else { - ActivateCustomLightTheme(); + qApp->setStyleSheet(QString()); // NOLINT(cppcoreguidelines-pro-type-static-cast-downcast) } #endif // QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) } @@ -249,7 +249,7 @@ void ActivateDefaultThemeMac() } else { - ActivateCustomLightTheme(); + qApp->setStyleSheet(QString()); // NOLINT(cppcoreguidelines-pro-type-static-cast-downcast) } #endif // QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) } @@ -269,7 +269,7 @@ void ActivateDefaultTheme() } else { - ActivateCustomLightTheme(); + qApp->setStyleSheet(QString()); // NOLINT(cppcoreguidelines-pro-type-static-cast-downcast) } #endif }