From ce37f05297f17cadd6d73771d0ceeaa3e73080c3 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 30 May 2014 11:38:08 +0200 Subject: BaseFileWizard: Get rid of applyExtensionPageShortTitle(...) That method was used to set a title in the progress view of the wizard that is different from the page title. That is used exactly once and there it adds more confusion than it helps. So get rid of the whole thing. Consistently set the "shortTitle" property instead for all wizards that want to have a separate short title. Change-Id: Ia4881e9c00891058629491f9e9de4ac421c59727 Reviewed-by: Orgad Shaneh --- src/plugins/designer/cpp/formclasswizarddialog.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/plugins/designer/cpp/formclasswizarddialog.cpp') diff --git a/src/plugins/designer/cpp/formclasswizarddialog.cpp b/src/plugins/designer/cpp/formclasswizarddialog.cpp index 6ca91ac133..a9e5af3ac8 100644 --- a/src/plugins/designer/cpp/formclasswizarddialog.cpp +++ b/src/plugins/designer/cpp/formclasswizarddialog.cpp @@ -51,13 +51,10 @@ FormClassWizardDialog::FormClassWizardDialog(const WizardPageList &extensionPage setWindowTitle(tr("Qt Designer Form Class")); setPage(FormPageId, m_formPage); - wizardProgress()->item(FormPageId)->setTitle(tr("Form Template")); - setPage(ClassPageId, m_classPage); - wizardProgress()->item(ClassPageId)->setTitle(tr("Class Details")); foreach (QWizardPage *p, extensionPages) - Core::BaseFileWizardFactory::applyExtensionPageShortTitle(this, addPage(p)); + addPage(p); } QString FormClassWizardDialog::path() const -- cgit v1.2.1