mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -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,13 +320,18 @@ ModuleManager::checkRequirements()
|
||||||
RequirementsList l = module->checkRequirements();
|
RequirementsList l = module->checkRequirements();
|
||||||
if ( l.length() > 0 )
|
if ( l.length() > 0 )
|
||||||
{
|
{
|
||||||
cDebug() << " .." << module->name() << l.length() << "requirements";
|
cDebug() << " .." << module->name() << "has" << l.length() << "requirements";
|
||||||
emit requirementsResult( l );
|
emit requirementsResult( l );
|
||||||
}
|
}
|
||||||
|
int count = 0;
|
||||||
for (const auto& r : l)
|
for (const auto& r : l)
|
||||||
{
|
{
|
||||||
if ( r.mandatory && !r.satisfied )
|
if ( r.mandatory && !r.satisfied )
|
||||||
|
{
|
||||||
|
cDebug() << " .. requirement" << count << r.name << "is not satisfied.";
|
||||||
acceptable = false;
|
acceptable = false;
|
||||||
|
}
|
||||||
|
++count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue