Load branding component name from Settings.

main
Teo Mrnjavac 10 years ago
parent f952b44922
commit 97cf2a796c

@ -91,6 +91,8 @@ Settings::Settings( const QString& settingsFilePath,
config[ "prepare" ] >> m_modulesPrepareList;
config[ "install" ] >> m_modulesInstallList;
config[ "postinstall" ] >> m_modulesPostInstallList;
m_brandingComponentName = QString::fromStdString( config[ "branding" ]
.as< std::string >() );
}
catch ( YAML::Exception& e )
{
@ -130,6 +132,13 @@ Settings::modules( Phase phase ) const
}
QString
Settings::brandingComponentName() const
{
return m_brandingComponentName;
}
bool
Settings::debugMode() const
{

@ -44,6 +44,8 @@ public:
QStringList modules( Phase phase ) const;
QString brandingComponentName() const;
bool debugMode() const;
private:
@ -56,6 +58,8 @@ private:
QStringList m_modulesPrepareList;
QStringList m_modulesInstallList;
QStringList m_modulesPostInstallList;
QString m_brandingComponentName;
};
}

Loading…
Cancel
Save