summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistitem.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistitem.cpp b/noncore/unsupported/oipkg/packagelistitem.cpp
index b7af9a6..2f81714 100644
--- a/noncore/unsupported/oipkg/packagelistitem.cpp
+++ b/noncore/unsupported/oipkg/packagelistitem.cpp
@@ -31,3 +31,2 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s)
nameItem = new QCheckListItem( this, "" );
- item = new QCheckListItem( this, QObject::tr("Description: ")+pi->desc() );
item = new QCheckListItem( this, QObject::tr("Size: ")+pi->size() );
@@ -35,2 +34,10 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s)
linkItem = new QCheckListItem( this, "" );
+ QCheckListItem *otherItem = new QCheckListItem( this, QObject::tr("other") );
+ item = new QCheckListItem( otherItem, QObject::tr("Description: ")+pi->desc() );
+ QDict<QString> *fields = pi->getFields();
+ QDictIterator<QString> it( *fields );
+ while ( it.current() ) {
+ item = new QCheckListItem( otherItem, QString(it.currentKey()+": "+*it.current()) );
+ ++it;
+ }
displayDetails();