mirror of
https://github.com/parchlinux/calamares.git
synced 2025-03-01 05:15:44 -05:00
[welcome] Implement requirements checking at module level.
- Hook up the requirements checker (which only checks) to the module-and-viewstep method called to do the checking.
This commit is contained in:
parent
bd27dda474
commit
c8e42e6909
2 changed files with 7 additions and 0 deletions
|
@ -131,3 +131,8 @@ WelcomeViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|||
cDebug() << "WARNING: no valid requirements map found in welcome "
|
||||
"module configuration.";
|
||||
}
|
||||
|
||||
Calamares::RequirementsList WelcomeViewStep::checkRequirements()
|
||||
{
|
||||
return m_requirementsChecker->checkRequirements( m_widget );
|
||||
}
|
||||
|
|
|
@ -57,6 +57,8 @@ public:
|
|||
|
||||
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
||||
|
||||
Calamares::RequirementsList checkRequirements() override;
|
||||
|
||||
private:
|
||||
WelcomePage* m_widget;
|
||||
RequirementsChecker* m_requirementsChecker;
|
||||
|
|
Loading…
Add table
Reference in a new issue