mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55: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
|
@ -98,6 +98,15 @@ PackageItem::fromAppData( const QVariantMap& item_map )
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_APPSTREAM
|
||||
PackageItem
|
||||
PackageItem::fromAppStream( const QVariantMap& item_map )
|
||||
{
|
||||
cWarning() << "Loading AppStream data is not supported.";
|
||||
return PackageItem();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
PackageListModel::PackageListModel( QObject* parent )
|
||||
: QAbstractListModel( parent )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue