diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-10-09 11:20:26 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-10-09 14:31:14 +0200 |
commit | 56c3d8ffaba76a69a36c6083ee0abdf103355025 (patch) | |
tree | e9ee2ffb9157a567797ac267d0789c40ed46547b /src/plugins/pythoneditor/wizard/pythonfilewizard.cpp | |
parent | 1ba9c8ef148eddb96751246ed627bf5bddccf5fc (diff) | |
download | qt-creator-56c3d8ffaba76a69a36c6083ee0abdf103355025.tar.gz |
Unify wizards with TOC and cancel button.
QTBUG-28385 is biting us over and over (QWizard doesn't have close
button nor cancel button on Mac in Qt 5), and actually there's no reason
for us having a wizard without the features from Utils::Wizard.
Task-number: QTCREATORBUG-10346
Task-number: QTBUG-28385
Change-Id: I80c0d82fe6738496c2ac03c31a1c2757ade8e266
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/wizard/pythonfilewizard.cpp')
-rw-r--r-- | src/plugins/pythoneditor/wizard/pythonfilewizard.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp b/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp index 67b21367bd..45cd6a14ca 100644 --- a/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp +++ b/src/plugins/pythoneditor/wizard/pythonfilewizard.cpp @@ -70,7 +70,6 @@ QWizard *FileWizard::createWizardDialog(QWidget *parent, { Utils::FileWizardDialog *pDialog = new Utils::FileWizardDialog(parent); pDialog->setWindowTitle(tr("New %1").arg(displayName())); - setupWizard(pDialog); pDialog->setPath(params.defaultPath()); foreach (QWizardPage *p, params.extensionPages()) applyExtensionPageShortTitle(pDialog, pDialog->addPage(p)); |