forked from qt-creator/qt-creator
Don't show the target setup page on adding a subproject
Task-number: QTCREATORBUG-7426 Change-Id: I69232c9cd924a701a5c7b48d124ed2319337ea02 Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
This commit is contained in:
committed by
Jarek Kobus
parent
e7993e20ec
commit
5c04b40860
@@ -34,6 +34,7 @@
|
||||
#include "customwidgetwidgetswizardpage.h"
|
||||
#include "customwidgetpluginwizardpage.h"
|
||||
#include "customwidgetwizard.h"
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
@@ -80,7 +81,9 @@ CustomWidgetWizardDialog::CustomWidgetWizardDialog(const QString &templateName,
|
||||
|
||||
setIntroDescription(tr("This wizard generates a Qt4 Designer Custom Widget "
|
||||
"or a Qt4 Designer Custom Widget Collection project."));
|
||||
addTargetSetupPage();
|
||||
|
||||
if (!parameters.extraValues().contains(ProjectExplorer::Constants::PROJECT_PROFILE_IDS))
|
||||
addTargetSetupPage();
|
||||
m_widgetPageId = addPage(m_widgetsPage);
|
||||
m_pluginPageId = addPage(m_pluginPage);
|
||||
wizardProgress()->item(m_widgetPageId)->setTitle(tr("Custom Widgets"));
|
||||
|
||||
Reference in New Issue
Block a user