Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.cpp') (more/less context) (show 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 | |||
@@ -29,10 +29,17 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s) | |||
29 | setExpandable( true ); | 29 | setExpandable( true ); |
30 | QCheckListItem *item; | 30 | QCheckListItem *item; |
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() ); |
34 | destItem = new QCheckListItem( this, "" ); | 33 | destItem = new QCheckListItem( this, "" ); |
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(); |
37 | 44 | ||
38 | if (!pm_uninstalled) | 45 | if (!pm_uninstalled) |