Only set the slideshow if the branding component has one.

This commit is contained in:
Teo Mrnjavac 2015-01-23 20:27:27 +01:00
parent 9622888d1d
commit 50a413d3c2

View File

@ -55,6 +55,7 @@ InstallationViewStep::InstallationViewStep( QObject* parent )
m_slideShow->engine()->addImportPath( CalamaresUtils::qmlModulesDir().absolutePath() );
if ( !Calamares::Branding::instance()->slideshowPath().isEmpty() )
m_slideShow->setSource( QUrl::fromLocalFile( Calamares::Branding::instance()
->slideshowPath() ) );