summaryrefslogtreecommitdiffstats
path: root/knode/kngroupdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kngroupdialog.cpp')
-rw-r--r--knode/kngroupdialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp
index f8922e076..fc3353c01 100644
--- a/knode/kngroupdialog.cpp
+++ b/knode/kngroupdialog.cpp
@@ -121,18 +121,17 @@ void KNGroupDialog::updateItemState(CheckItem *it)
-void KNGroupDialog::toSubscribe(TQPtrList<KNGroupInfo> *l)
+void KNGroupDialog::toSubscribe(std::list<KNGroupInfo*> *l)
{
KNGroupInfo *info;
l->clear();
- l->setAutoDelete(true);
bool moderated=false;
TQListViewItemIterator it(subView);
for(; it.current(); ++it) {
info = new KNGroupInfo();
*info = ((static_cast<GroupItem*>(it.current()))->info);
- l->append(info);
+ l->push_back(info);
if (info->status==KNGroup::moderated)
moderated=true;
}