[plasmalnf] Complain again if poorly configured

This commit is contained in:
Adriaan de Groot 2017-12-04 11:54:33 -05:00
parent 98b9f67e39
commit ad69eda337

View File

@ -108,8 +108,13 @@ PlasmaLnfViewStep::jobs() const
QList<Calamares::job_ptr> l; QList<Calamares::job_ptr> l;
cDebug() << "Creating Plasma LNF jobs .."; cDebug() << "Creating Plasma LNF jobs ..";
if ( !m_themeId.isEmpty() && !m_lnfPath.isEmpty() ) if ( !m_themeId.isEmpty() )
l.append( Calamares::job_ptr( new PlasmaLnfJob( m_lnfPath, m_themeId ) ) ); {
if ( !m_lnfPath.isEmpty() )
l.append( Calamares::job_ptr( new PlasmaLnfJob( m_lnfPath, m_themeId ) ) );
else
cDebug() << "WARNING: no lnftool given for plasmalnf module.";
}
return l; return l;
} }