[calamares] Search for sidebar QML file

- change name to "calamares-sidebar" so it's clear that
  it is a core component.
main
Adriaan de Groot 5 years ago
parent 8d6e3e547c
commit 32ebb08788

@ -136,7 +136,8 @@ CalamaresWindow::getQmlSidebar( int desiredWidth )
{
CalamaresUtils::registerCalamaresModels();
QQuickWidget* w = new QQuickWidget( this );
w->setSource( QUrl( ":/sidebar.qml" ) );
w->setSource( QUrl(
CalamaresUtils::searchQmlFile( CalamaresUtils::QmlSearch::Both, QStringLiteral( "calamares-sidebar" ) ) ) );
return w;
}

Loading…
Cancel
Save