Fix replacement of variables in wizard parameters.

This was broken in case of no targets page being used, and using
the project name variable in default values for wizard parameters in the
page following the intro page (like it is done in the hello world
wizard).

Reviewed-by: Friedemann Kleint
This commit is contained in:
con
2010-10-27 12:51:33 +02:00
parent 54569c0624
commit 6954d89893
8 changed files with 23 additions and 15 deletions

View File

@@ -337,6 +337,12 @@ WizardProgress *Wizard::wizardProgress() const
return d->m_wizardProgress;
}
bool Wizard::validateCurrentPage()
{
emit nextClicked();
return QWizard::validateCurrentPage();
}
void Wizard::_q_currentPageChanged(int pageId)
{
Q_D(Wizard);