author | tille <tille> | 2002-05-02 19:11:55 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-02 19:11:55 (UTC) |
commit | ce6758eccada41f5c3fef13e6b4808c525213bee (patch) (unidiff) | |
tree | 236d015e4c037254d7862620e41bd75ab701a696 /noncore/unsupported/oipkg/packagelistview.cpp | |
parent | b4f04de71fea42fa32a048f42d27e4f5be6804f9 (diff) | |
download | opie-ce6758eccada41f5c3fef13e6b4808c525213bee.zip opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.gz opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.bz2 |
added doclnk support
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistview.cpp') (more/less context) (ignore 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 | |||
@@ -107,26 +107,27 @@ void PackageListView::display() | |||
107 | while ( list.current() ) { | 107 | while ( list.current() ) { |
108 | packlist = list.current(); | 108 | packlist = list.current(); |
109 | rootItem = rootItems.find( list.currentKey() ); | 109 | rootItem = rootItems.find( list.currentKey() ); |
110 | //rootItem->clear(); | 110 | //rootItem->clear(); |
111 | it=rootItem->firstChild(); | 111 | it=rootItem->firstChild(); |
112 | while ( it ) | 112 | while ( it ) |
113 | { | 113 | { |
114 | itdel = it; | 114 | itdel = it; |
115 | it = it->nextSibling(); | 115 | it = it->nextSibling(); |
116 | delete itdel; | 116 | delete itdel; |
117 | } | 117 | } |
118 | pack = packlist->first(); | 118 | pack = packlist->first(); |
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 | } |