summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/safedelete.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-05 08:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-05 08:45:53 +0000
commit5527e01e0675fbb06b632ccdae423756fbff622b (patch)
treec2dd1a478a7789d3b01e77fdf31f9011a96a81c5 /kopete/protocols/yahoo/libkyahoo/safedelete.cpp
parent1fc8db48741fae272e2d29078b266a3d0f2e2dd1 (diff)
downloadtdenetwork-5527e01e0675fbb06b632ccdae423756fbff622b.tar.gz
tdenetwork-5527e01e0675fbb06b632ccdae423756fbff622b.zip
Many fixes to the Yahoo protocol, courtesy of Serghei Amelian
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1146108 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/safedelete.cpp')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/safedelete.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/safedelete.cpp b/kopete/protocols/yahoo/libkyahoo/safedelete.cpp
index 703e8ed3..2b6b09cf 100644
--- a/kopete/protocols/yahoo/libkyahoo/safedelete.cpp
+++ b/kopete/protocols/yahoo/libkyahoo/safedelete.cpp
@@ -3,7 +3,7 @@
Copyright (c) 2004 SUSE Linux AG http://www.suse.com
- Based on Iris, Copyright (C) 2003 Justin Karneges
+ Based on Iris, Copyright (C) 2003 Justin Karneges <[email protected]>
Kopete (c) 2002-2004 by the Kopete developers <[email protected]>
@@ -55,8 +55,9 @@ void SafeDelete::deleteAll()
return;
QObjectListIt it(list);
- for(QObject *o; (o = it.current()); ++it)
+ for(QObject *o; (o = it.current()); ++it)
deleteSingle(o);
+
list.clear();
}