mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05: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
|
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…
Add table
Reference in a new issue