mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[welcome] Explain in the debug log what failed
This commit is contained in:
parent
fabe5ec439
commit
7d00f7e0dc
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue