[libcalamaresui] Stub requirements checking.

Introduce a method checkRequirements() into the module system so that
individual modules can do their own checking (as opposed to stuffing
it all into the welcome module).
This commit is contained in:
Adriaan de Groot 2017-11-30 12:01:11 -05:00
parent d63f8f6922
commit 24e04645b6
5 changed files with 33 additions and 0 deletions

View file

@ -315,4 +315,18 @@ ModuleManager::loadModules()
} );
}
void
ModuleManager::checkRequirements()
{
QTimer::singleShot( 0, this, [ this ]()
{
for (const auto& module : m_loadedModulesByInstanceKey )
{
module->checkRequirements();
}
emit modulesChecked();
} );
}
} // namespace