mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue