mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix Workout Wizard window title and style
Reported at the forum, it looked weird.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user