diff options
Diffstat (limited to 'src/itemgroup.cpp')
-rw-r--r-- | src/itemgroup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/itemgroup.cpp b/src/itemgroup.cpp index 9abdfe0..d6d6fb2 100644 --- a/src/itemgroup.cpp +++ b/src/itemgroup.cpp @@ -46,7 +46,7 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const return m_itemList; ItemList items = m_itemList; - ItemList tqparents = m_itemList; + ItemList parents = m_itemList; uint oldSize = items.size(); do @@ -54,8 +54,8 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const oldSize = items.size(); ItemList tqchildren; - ItemList::iterator end = tqparents.end(); - for ( ItemList::iterator it = tqparents.begin(); it != end; ++it ) + ItemList::iterator end = parents.end(); + for ( ItemList::iterator it = parents.begin(); it != end; ++it ) tqchildren += (*it)->tqchildren(); end = tqchildren.end(); @@ -67,7 +67,7 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const tqchildren.remove((Item*)0l); items += tqchildren; - tqparents = tqchildren; + parents = tqchildren; } while ( oldSize != items.size() ); |