[libcalamaresui] Log QML error message
- When loading fails, log a useful error message from the QML engine (to help debug the QML)
This commit is contained in:
parent
49ed97cb77
commit
85b873a1a2
@ -339,6 +339,10 @@ void
|
||||
QmlViewStep::showFailedQml()
|
||||
{
|
||||
cWarning() << "QmlViewStep" << moduleInstanceKey() << "loading failed.";
|
||||
if ( m_qmlComponent )
|
||||
{
|
||||
cDebug() << Logger::SubEntry << "QML error:" << m_qmlComponent->errorString();
|
||||
}
|
||||
m_spinner->setText( prettyName() + ' ' + tr( "Loading failed." ) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user