freebsd-ports/net-im/kmess-kde4/files/patch-src--model--contactlistmodelitem.cpp
Michael Scheidell a8700ae4f8 - Update to 2.0.6.2
- Remove files/patch-soap (fixed upstream)

PR:		ports/169623
Submitted by:	Axel Gonzalez <loox@e-shell.net>
Approved by:	Mina R Waheeb <syncer@gmail.com> (maintainer)
2012-07-30 18:54:25 +00:00

12 lines
406 B
C++

--- src/model/contactlistmodelitem.cpp.orig 2012-07-03 01:35:16.000000000 -0500
+++ src/model/contactlistmodelitem.cpp 2012-07-03 01:35:50.000000000 -0500
@@ -79,7 +79,8 @@
*/
ContactListModelItem::~ContactListModelItem()
{
- qDeleteAll( childItems_ );
+ while( !childItems_.isEmpty() )
+ delete childItems_.takeFirst();
childItems_.clear();
// Delete this item from the parent's children