Fix Workout Wizard window title and style

Reported at the forum, it looked weird.
This commit is contained in:
Alejandro Martinez
2025-05-15 19:51:53 -03:00
parent c1bb636db4
commit f22c3796dd

View File

@@ -812,6 +812,12 @@ WorkoutWizard::WorkoutWizard(Context *context) :QWizard(context->mainWindow)
setPage(WW_ImportPage, new ImportPage());
this->setStartId(WW_WorkoutTypePage);
#ifdef Q_OS_MAC
setWizardStyle(QWizard::MacStyle);
#else
setWizardStyle(QWizard::ModernStyle);
#endif
setWindowTitle(tr("Workout Wizard"));
}
// called at the end of the wizard...
void WorkoutWizard::accept()