mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
move thisModule->isLoaded assert to after it's warning message
This commit is contained in:
parent
fb94c227f6
commit
b6673f6324
1 changed files with 1 additions and 1 deletions
|
@ -290,10 +290,10 @@ ModuleManager::loadModules()
|
||||||
// If it's a ViewModule, it also appends the ViewStep to the ViewManager.
|
// If it's a ViewModule, it also appends the ViewStep to the ViewManager.
|
||||||
thisModule->loadSelf();
|
thisModule->loadSelf();
|
||||||
m_loadedModulesByInstanceKey.insert( instanceKey, thisModule );
|
m_loadedModulesByInstanceKey.insert( instanceKey, thisModule );
|
||||||
Q_ASSERT( thisModule->isLoaded() );
|
|
||||||
if ( !thisModule->isLoaded() )
|
if ( !thisModule->isLoaded() )
|
||||||
{
|
{
|
||||||
cWarning() << "Module" << moduleName << "loading FAILED";
|
cWarning() << "Module" << moduleName << "loading FAILED";
|
||||||
|
Q_ASSERT( thisModule->isLoaded() );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue