[libcalamaresui] Use setSource() for API version 1
- Just avoid all the componentized loading and do the synchronous load-compile-setContent thing.
This commit is contained in:
parent
15ab98cb26
commit
193bcbde71
@ -201,10 +201,10 @@ ExecutionViewStep::onActivate()
|
|||||||
// The QML was already loaded in the constructor, need to start it
|
// The QML was already loaded in the constructor, need to start it
|
||||||
callQMLFunction( m_qmlObject, "onActivate" );
|
callQMLFunction( m_qmlObject, "onActivate" );
|
||||||
}
|
}
|
||||||
else
|
else if ( !Calamares::Branding::instance()->slideshowPath().isEmpty() )
|
||||||
{
|
{
|
||||||
// API version 1 assumes onCompleted is the trigger
|
// API version 1 assumes onCompleted is the trigger
|
||||||
loadQml();
|
m_qmlShow->setSource( QUrl::fromLocalFile( Calamares::Branding::instance()->slideshowPath() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
JobQueue* queue = JobQueue::instance();
|
JobQueue* queue = JobQueue::instance();
|
||||||
|
Loading…
Reference in New Issue
Block a user