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/pythoneditor/wizard/pythonfilewizard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/pythoneditor/wizard/pythonfilewizard.cpp') diff --git a/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp b/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp index 553bfd5a2c..adc4af1ddd 100644 --- a/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp +++ b/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp @@ -67,7 +67,7 @@ Core::BaseFileWizard *FileWizard::create(QWidget *parent, const Core::WizardDial wizard->setWindowTitle(tr("New %1").arg(displayName())); wizard->setPath(parameters.defaultPath()); foreach (QWizardPage *p, parameters.extensionPages()) - applyExtensionPageShortTitle(wizard, wizard->addPage(p)); + wizard->addPage(p); return wizard; } -- cgit v1.2.1