mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
[libcalamaresui] Refactor Requirements classes
- improve naming of member variables - expand documentation
This commit is contained in:
parent
43eae0bc47
commit
d33752c66c
3 changed files with 26 additions and 18 deletions
|
@ -317,7 +317,7 @@ ModuleManager::checkRequirements()
|
|||
|
||||
for (const auto& module : m_loadedModulesByInstanceKey )
|
||||
{
|
||||
auto l = module->checkRequirements();
|
||||
RequirementsList l = module->checkRequirements();
|
||||
if ( l.length() > 0 )
|
||||
{
|
||||
cDebug() << " .." << module->name() << l.length() << "requirements";
|
||||
|
@ -325,7 +325,7 @@ ModuleManager::checkRequirements()
|
|||
}
|
||||
for (const auto& r : l)
|
||||
{
|
||||
if (r.required && !r.checked)
|
||||
if ( r.mandatory && !r.satisfied )
|
||||
acceptable = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue