From 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:39:40 -0600 Subject: Remove additional unneeded tq method conversions --- src/itemgroup.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/itemgroup.cpp') diff --git a/src/itemgroup.cpp b/src/itemgroup.cpp index ee6816c..c1ab4da 100644 --- a/src/itemgroup.cpp +++ b/src/itemgroup.cpp @@ -52,22 +52,22 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const do { oldSize = items.size(); - ItemList tqchildren; + ItemList children; ItemList::iterator end = parents.end(); for ( ItemList::iterator it = parents.begin(); it != end; ++it ) - tqchildren += (*it)->tqchildren(); + children += (*it)->children(); - end = tqchildren.end(); - for ( ItemList::iterator it = tqchildren.begin(); it != end; ++it ) + end = children.end(); + for ( ItemList::iterator it = children.begin(); it != end; ++it ) { - if ( tqchildren.contains(*it) > 1 ) + if ( children.contains(*it) > 1 ) *it = 0l; } - tqchildren.remove((Item*)0l); + children.remove((Item*)0l); - items += tqchildren; - parents = tqchildren; + items += children; + parents = children; } while ( oldSize != items.size() ); -- cgit v1.2.3