- describe() is for debugging purposes, doesn't need to calculate
whether the requirements are accepted.
RequirementsModel::describe() const
{
cDebug() << "Requirements model has" << m_requirements.count() << "items";
- bool acceptable = true;
int count = 0;
for ( const auto& r : m_requirements )
{
cDebug() << Logger::SubEntry << "requirement" << count << r.name << "satisfied?" << r.satisfied << "mandatory?"
<< r.mandatory;
- if ( r.mandatory && !r.satisfied )
- {
- acceptable = false;
- }
++count;
}
}