[Gui] QtStyle preference consistency

Previously, the some of the code searched for the QtStyle in the wrong location
This commit is contained in:
Benjamin Bræstrup Sayoc
2024-09-04 15:31:20 +02:00
parent c1c2311407
commit 33ab8fa2e8
4 changed files with 4 additions and 8 deletions

View File

@@ -304,7 +304,7 @@ void StartupPostProcess::setCursorFlashing()
void StartupPostProcess::setQtStyle()
{
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("General");
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("MainWindow");
auto qtStyle = hGrp->GetASCII("QtStyle");
QApplication::setStyle(QString::fromStdString(qtStyle));
}