refs #912, static utility function lastStepSkipped for configuration wizard

This commit is contained in:
Klaus Basan
2017-03-19 22:58:32 +01:00
committed by Mathew Sutcliffe
parent d214739912
commit 3575eed37b
3 changed files with 10 additions and 5 deletions

View File

@@ -50,6 +50,12 @@ namespace BlackGui
return m_skipped;
}
bool CConfigurationWizard::lastWizardStepSkipped(const QWizard *standardWizard)
{
const CConfigurationWizard *wizard = qobject_cast<const CConfigurationWizard *>(standardWizard);
return wizard && wizard->lastStepSkipped();
}
void CConfigurationWizard::wizardCurrentIdChanged(int id)
{
const int previousId = m_previousId;