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:
Tobias Hunger
2015-09-22 15:52:25 +02:00
parent c0ae81f4f2
commit a561e59a24
4 changed files with 3 additions and 14 deletions

View File

@@ -384,12 +384,6 @@ WizardProgress *Wizard::wizardProgress() const
return d->m_wizardProgress;
}
bool Wizard::validateCurrentPage()
{
emit nextClicked();
return QWizard::validateCurrentPage();
}
bool Wizard::hasField(const QString &name) const
{
return d_ptr->m_fieldNames.contains(name);