mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
[libcalamaresui] Improve debug-logging
This commit is contained in:
parent
d33752c66c
commit
5aa4e52452
1 changed files with 6 additions and 1 deletions
|
@ -320,14 +320,19 @@ ModuleManager::checkRequirements()
|
|||
RequirementsList l = module->checkRequirements();
|
||||
if ( l.length() > 0 )
|
||||
{
|
||||
cDebug() << " .." << module->name() << l.length() << "requirements";
|
||||
cDebug() << " .." << module->name() << "has" << l.length() << "requirements";
|
||||
emit requirementsResult( l );
|
||||
}
|
||||
int count = 0;
|
||||
for (const auto& r : l)
|
||||
{
|
||||
if ( r.mandatory && !r.satisfied )
|
||||
{
|
||||
cDebug() << " .. requirement" << count << r.name << "is not satisfied.";
|
||||
acceptable = false;
|
||||
}
|
||||
++count;
|
||||
}
|
||||
}
|
||||
|
||||
emit requirementsComplete( acceptable );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue