summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicssimulation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mechanics/mechanicssimulation.cpp')
-rw-r--r--src/mechanics/mechanicssimulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mechanics/mechanicssimulation.cpp b/src/mechanics/mechanicssimulation.cpp
index 15900d3..8ec5e2f 100644
--- a/src/mechanics/mechanicssimulation.cpp
+++ b/src/mechanics/mechanicssimulation.cpp
@@ -51,7 +51,7 @@ RigidBody::~RigidBody()
bool RigidBody::addMechanicsItem( MechanicsItem *item )
{
- if ( !item || m_mechanicsItemList.tqcontains(item) )
+ if ( !item || m_mechanicsItemList.contains(item) )
return false;
m_mechanicsItemList.append(item);