Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistitem.cpp | 9 |
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) | |||
31 | nameItem = new QCheckListItem( this, "" ); | 31 | nameItem = new QCheckListItem( this, "" ); |
32 | item = new QCheckListItem( this, QObject::tr("Description: ")+pi->desc() ); | ||
33 | item = new QCheckListItem( this, QObject::tr("Size: ")+pi->size() ); | 32 | item = new QCheckListItem( this, QObject::tr("Size: ")+pi->size() ); |
@@ -35,2 +34,10 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s) | |||
35 | linkItem = new QCheckListItem( this, "" ); | 34 | linkItem = new QCheckListItem( this, "" ); |
35 | QCheckListItem *otherItem = new QCheckListItem( this, QObject::tr("other") ); | ||
36 | item = new QCheckListItem( otherItem, QObject::tr("Description: ")+pi->desc() ); | ||
37 | QDict<QString> *fields = pi->getFields(); | ||
38 | QDictIterator<QString> it( *fields ); | ||
39 | while ( it.current() ) { | ||
40 | item = new QCheckListItem( otherItem, QString(it.currentKey()+": "+*it.current()) ); | ||
41 | ++it; | ||
42 | } | ||
36 | displayDetails(); | 43 | displayDetails(); |