summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mechanics/mechanicsgroup.cpp')
-rw-r--r--src/mechanics/mechanicsgroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mechanics/mechanicsgroup.cpp b/src/mechanics/mechanicsgroup.cpp
index 900eb92..2c577c8 100644
--- a/src/mechanics/mechanicsgroup.cpp
+++ b/src/mechanics/mechanicsgroup.cpp
@@ -71,9 +71,9 @@ void MechanicsGroup::removeChildren( Item *item )
if (!item)
return;
- const ItemList tqchildren = item->tqchildren();
- const ItemList::const_iterator end = tqchildren.end();
- for ( ItemList::const_iterator it = tqchildren.begin(); it != end; ++it )
+ const ItemList children = item->children();
+ const ItemList::const_iterator end = children.end();
+ for ( ItemList::const_iterator it = children.begin(); it != end; ++it )
{
removeChildren(*it);
removeItem(*it);