diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:39:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:39:40 -0600 |
commit | 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 (patch) | |
tree | fdf34e0c9a4211231bb084fb40d30d2dff677dea /src/mechanics/mechanicsgroup.cpp | |
parent | abb8cd68f820cfe0c96965136890a6bdd1093db5 (diff) | |
download | ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.tar.gz ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/mechanics/mechanicsgroup.cpp')
-rw-r--r-- | src/mechanics/mechanicsgroup.cpp | 6 |
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); |