|
|
@ -231,10 +231,11 @@ PackageModel::setupModelData( const YAML::Node& data, PackageTreeItem* parent )
|
|
|
|
item->setCritical(
|
|
|
|
item->setCritical(
|
|
|
|
CalamaresUtils::yamlToVariant( itemDefinition["critical"] ).toBool() );
|
|
|
|
CalamaresUtils::yamlToVariant( itemDefinition["critical"] ).toBool() );
|
|
|
|
|
|
|
|
|
|
|
|
for ( YAML::const_iterator packageIt = itemDefinition["packages"].begin();
|
|
|
|
if ( itemDefinition["packages"] )
|
|
|
|
packageIt != itemDefinition["packages"].end(); ++packageIt )
|
|
|
|
for ( YAML::const_iterator packageIt = itemDefinition["packages"].begin();
|
|
|
|
item->appendChild(
|
|
|
|
packageIt != itemDefinition["packages"].end(); ++packageIt )
|
|
|
|
new PackageTreeItem( CalamaresUtils::yamlToVariant( *packageIt ).toString(), item ) );
|
|
|
|
item->appendChild(
|
|
|
|
|
|
|
|
new PackageTreeItem( CalamaresUtils::yamlToVariant( *packageIt ).toString(), item ) );
|
|
|
|
|
|
|
|
|
|
|
|
if ( itemDefinition["subgroups"] )
|
|
|
|
if ( itemDefinition["subgroups"] )
|
|
|
|
setupModelData( itemDefinition["subgroups"], item );
|
|
|
|
setupModelData( itemDefinition["subgroups"], item );
|
|
|
|