summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/safedelete.cpp
diff options
context:
space:
mode:
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();
}