summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmcompositeobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmcompositeobject.cpp')
-rw-r--r--kpovmodeler/pmcompositeobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpovmodeler/pmcompositeobject.cpp b/kpovmodeler/pmcompositeobject.cpp
index e9369ea4..3699e716 100644
--- a/kpovmodeler/pmcompositeobject.cpp
+++ b/kpovmodeler/pmcompositeobject.cpp
@@ -96,7 +96,7 @@ PMObject* PMCompositeObject::tqchildAt( uint index ) const
int PMCompositeObject::findChild( PMObject* o )
{
- if( o->tqparent( ) != this )
+ if( o->parent( ) != this )
return -1;
PMObject* tmp;