forked from qt-creator/qt-creator
Utils::Wizard: Move hack out of the base class
Implement it instead where it is needed. Change-Id: If7f76bcfa82705936b555a5ebfc221978c70e106 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -98,7 +98,6 @@ void BaseProjectWizardDialog::init()
|
||||
setPage(d->desiredIntroPageId, d->introPage);
|
||||
}
|
||||
connect(this, SIGNAL(accepted()), this, SLOT(slotAccepted()));
|
||||
connect(this, SIGNAL(nextClicked()), this, SLOT(nextClicked()));
|
||||
}
|
||||
|
||||
BaseProjectWizardDialog::~BaseProjectWizardDialog()
|
||||
@@ -155,10 +154,11 @@ void BaseProjectWizardDialog::slotAccepted()
|
||||
}
|
||||
}
|
||||
|
||||
void BaseProjectWizardDialog::nextClicked()
|
||||
bool BaseProjectWizardDialog::validateCurrentPage()
|
||||
{
|
||||
if (currentId() == d->introPageId)
|
||||
emit projectParametersChanged(d->introPage->projectName(), d->introPage->path());
|
||||
return Core::BaseFileWizard::validateCurrentPage();
|
||||
}
|
||||
|
||||
Utils::ProjectIntroPage *BaseProjectWizardDialog::introPage() const
|
||||
|
||||
Reference in New Issue
Block a user