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

@@ -57,6 +57,11 @@ public:
void setStartId(int pageId);
WizardProgress *wizardProgress() const;
virtual bool validateCurrentPage();
signals:
void nextClicked(); /* workaround for QWizard behavior where page->initialize is
called before currentIdChanged */
private slots:
void _q_currentPageChanged(int pageId);