[welcome] Explain in the debug log what failed

main
Adriaan de Groot 5 years ago
parent fabe5ec439
commit 7d00f7e0dc

@ -55,6 +55,16 @@ CheckerContainer::~CheckerContainer()
void
CheckerContainer::requirementsComplete( bool ok )
{
if ( !ok )
{
cDebug() << "Requirements not satisfied" << m_model.count() << "entries:";
for ( int i = 0; i < m_model.count(); ++i )
{
auto index = m_model.index( i );
cDebug() << Logger::SubEntry << i << m_model.data( index, Calamares::RequirementsModel::Name ).toString()
<< m_model.data( index, Calamares::RequirementsModel::Satisfied ).toBool();
}
}
layout()->removeWidget( m_waitingWidget );
m_waitingWidget->deleteLater();

Loading…
Cancel
Save