[welcome] Explain in the debug log what failed
This commit is contained in:
parent
fabe5ec439
commit
7d00f7e0dc
@ -55,6 +55,16 @@ CheckerContainer::~CheckerContainer()
|
|||||||
void
|
void
|
||||||
CheckerContainer::requirementsComplete( bool ok )
|
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 );
|
layout()->removeWidget( m_waitingWidget );
|
||||||
m_waitingWidget->deleteLater();
|
m_waitingWidget->deleteLater();
|
||||||
|
Loading…
Reference in New Issue
Block a user