mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[packagechooser] Initial support for appstream items
- Use *appstream* as key in one of the items for the package- chooser to load data from the AppStream cache in the system. - Usable for some applications; for DE-selection not so much. - Currently unimplemented.
This commit is contained in:
parent
2f20ad30bf
commit
eaa0c02f8d
6 changed files with 75 additions and 4 deletions
|
@ -219,6 +219,10 @@ PackageChooserViewStep::fillModel( const QVariantList& items )
|
|||
{
|
||||
m_model->addPackage( PackageItem::fromAppData( item_map ) );
|
||||
}
|
||||
else if ( item_map.contains( "appstream" ) )
|
||||
{
|
||||
m_model->addPackage( PackageItem::fromAppStream( item_map ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_model->addPackage( PackageItem( item_map ) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue