Diffstat (limited to 'noncore/unsupported/oipkg/packagelist.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelist.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp index 5f6934d..944bb83 100644 --- a/noncore/unsupported/oipkg/packagelist.cpp +++ b/noncore/unsupported/oipkg/packagelist.cpp | |||
@@ -27,4 +27,2 @@ PackageList::PackageList() | |||
27 | } | 27 | } |
28 | pvDebug( 5, "PackageList::PackageList statusDir "+statusDir); | ||
29 | pvDebug( 5, "PackageList::PackageList listsDir "+listsDir); | ||
30 | sections << "All"; | 28 | sections << "All"; |
@@ -65,3 +63,3 @@ void PackageList::insertPackage( Package* pack ) | |||
65 | 63 | ||
66 | void PackageList::filterPackages() | 64 | void PackageList::filterPackages( QString f ) |
67 | { | 65 | { |
@@ -73,4 +71,7 @@ void PackageList::filterPackages() | |||
73 | { | 71 | { |
74 | if ( ((aktSection=="All")||(pack->getSection()==aktSection)) && | 72 | if ( |
75 | ((aktSubSection=="All")||(pack->getSubSection()==aktSubSection)) ) | 73 | ((aktSection=="All")||(pack->getSection()==aktSection)) && |
74 | ((aktSubSection=="All")||(pack->getSubSection()==aktSubSection)) && | ||
75 | pack->name().contains( f ) | ||
76 | ) | ||
76 | { | 77 | { |
@@ -216 +217,7 @@ Package* PackageList::getByName( QString n ) | |||
216 | } | 217 | } |
218 | |||
219 | void PackageList::clear() | ||
220 | { | ||
221 | origPackageList.clear(); | ||
222 | packageList.clear(); | ||
223 | } | ||