mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[packagechooser] Allow to override some of AppData
- The ID and Screenshot entries might be weird in AppData (in particular, a remove URL) so put those back under the control of Calamares even when using AppData as the source of descriptions.
This commit is contained in:
parent
d72391942f
commit
6ddae94628
3 changed files with 28 additions and 5 deletions
|
@ -234,7 +234,7 @@ PackageChooserViewStep::fillModel( const QVariantList& items )
|
|||
|
||||
if ( item_map.contains( "appdata" ) )
|
||||
{
|
||||
m_model->addPackage( PackageItem::fromAppData( CalamaresUtils::getString( item_map, "appdata" ) ) );
|
||||
m_model->addPackage( PackageItem::fromAppData( item_map ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue