diff options
Diffstat (limited to 'knode/kngroupbrowser.cpp')
-rw-r--r-- | knode/kngroupbrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knode/kngroupbrowser.cpp b/knode/kngroupbrowser.cpp index f2379f51c..e77f7687b 100644 --- a/knode/kngroupbrowser.cpp +++ b/knode/kngroupbrowser.cpp @@ -41,9 +41,9 @@ KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntp { refilterTimer = new TQTimer(); - allList=new TQSortedList<KNGroupInfo>; + allList=new TQPtrList<KNGroupInfo>; allList->setAutoDelete(true); - matchList=new TQSortedList<KNGroupInfo>; + matchList=new TQPtrList<KNGroupInfo>; matchList->setAutoDelete(false); //create Widgets @@ -321,7 +321,7 @@ void KNGroupBrowser::slotFilter(const TQString &txt) bool doIncrementalUpdate = (!isRegexp && incrementalFilter && (filtertxt.left(lastFilter.length())==lastFilter)); if (doIncrementalUpdate) { - TQSortedList<KNGroupInfo> *tempList = new TQSortedList<KNGroupInfo>(); + TQPtrList<KNGroupInfo> *tempList = new TQPtrList<KNGroupInfo>(); tempList->setAutoDelete(false); for(KNGroupInfo *g=matchList->first(); g; g=matchList->next()) { |