mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Generalized code path for Phase switching. Also load install modules.
This commit is contained in:
parent
6348e72974
commit
8d28a2ea5d
5 changed files with 86 additions and 53 deletions
|
@ -86,6 +86,12 @@ ModuleManager::loadModules( Phase phase )
|
|||
<< "\nCalamares will now quit.";
|
||||
qApp->quit();
|
||||
}
|
||||
if ( m_availableModules.value( moduleName )->isLoaded() )
|
||||
{
|
||||
cDebug() << "Module" << moduleName << "already loaded.";
|
||||
continue;
|
||||
}
|
||||
|
||||
recursiveLoad( moduleName );
|
||||
}
|
||||
emit modulesLoaded( phase );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue