[libcalamares] Introduce more descriptive type name

main
Adriaan de Groot 7 years ago
parent 051b43bee6
commit a626e52bf3

@ -175,7 +175,7 @@ Settings::modulesSearchPaths() const
}
QList<QMap<QString, QString> >
Settings::InstanceDescriptionList
Settings::customModuleInstances() const
{
return m_customModuleInstances;

@ -43,7 +43,9 @@ public:
QStringList modulesSearchPaths() const;
QList< QMap< QString, QString > > customModuleInstances() const;
using InstanceDescription = QMap< QString, QString >;
using InstanceDescriptionList = QList< InstanceDescription >;
InstanceDescriptionList customModuleInstances() const;
QList< QPair< ModuleAction, QStringList > > modulesSequence() const;
@ -60,7 +62,7 @@ private:
QStringList m_modulesSearchPaths;
QList< QMap< QString, QString > > m_customModuleInstances;
InstanceDescriptionList m_customModuleInstances;
QList< QPair< ModuleAction, QStringList > > m_modulesSequence;
QString m_brandingComponentName;

@ -159,7 +159,7 @@ ModuleManager::loadModules()
{
QTimer::singleShot( 0, this, [ this ]()
{
QList< QMap< QString, QString > > customInstances =
Settings::InstanceDescriptionList customInstances =
Settings::instance()->customModuleInstances();
const auto modulesSequence = Settings::instance()->modulesSequence();

Loading…
Cancel
Save