Diffstat (limited to 'noncore/unsupported/oipkg/packagelistview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistview.cpp b/noncore/unsupported/oipkg/packagelistview.cpp index 5137c64..b6b520b 100644 --- a/noncore/unsupported/oipkg/packagelistview.cpp +++ b/noncore/unsupported/oipkg/packagelistview.cpp | |||
@@ -119,14 +119,15 @@ void PackageListView::display() | |||
119 | while( pack ) | 119 | while( pack ) |
120 | { | 120 | { |
121 | item = new PackageListItem( rootItem, pack, settings ); | 121 | item = new PackageListItem( rootItem, pack, settings ); |
122 | pack = packlist->next(); | 122 | pack = packlist->next(); |
123 | } | 123 | } |
124 | ++list; | 124 | ++list; |
125 | } | 125 | } |
126 | } | 126 | } |
127 | 127 | ||
128 | void PackageListView::addList( QString n, PackageList* pl) | 128 | void PackageListView::addList( QString n, PackageList* pl) |
129 | { | 129 | { |
130 | PackageLists.insert(n, pl); | 130 | PackageLists.insert(n, pl); |
131 | rootItems.insert(n, new QCheckListItem(this,n)); | 131 | QCheckListItem *item = new QCheckListItem(this,n); |
132 | rootItems.insert(n, item); | ||
132 | } | 133 | } |