Gui: add 'System' style to leave QtStyle unset

This commit is contained in:
Alfredo Monclus
2025-05-16 07:52:32 -06:00
parent 07c234078b
commit 127b1c8432

View File

@@ -298,8 +298,12 @@ void StartupPostProcess::setQtStyle()
if (qtStyle.empty()) {
qtStyle = "Fusion";
hGrp->SetASCII("QtStyle", qtStyle);
} else if (qtStyle == "System") {
// Special value to not set a QtStyle explicitly
return;
}
QApplication::setStyle(QString::fromStdString(qtStyle));
}
void StartupPostProcess::checkOpenGL()