diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:40 -0600 |
commit | 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 (patch) | |
tree | fdf34e0c9a4211231bb084fb40d30d2dff677dea /src/itemgroup.cpp | |
parent | abb8cd68f820cfe0c96965136890a6bdd1093db5 (diff) | |
download | ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.tar.gz ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/itemgroup.cpp')
-rw-r--r-- | src/itemgroup.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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() ); |