diff options
Diffstat (limited to 'src/modules/objects/class_dockwindow.cpp')
-rw-r--r-- | src/modules/objects/class_dockwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_dockwindow.cpp b/src/modules/objects/class_dockwindow.cpp index aa9c8f88..40fc473b 100644 --- a/src/modules/objects/class_dockwindow.cpp +++ b/src/modules/objects/class_dockwindow.cpp @@ -141,7 +141,7 @@ bool KviKvsObject_dockwindow::function_addWidget(KviKvsObjectFunctionCall *c) return true; } - if(((TQWidget *)(pWidget->object()))->tqparent() != (TQObject *)_pDockWindow) + if(((TQWidget *)(pWidget->object()))->parent() != (TQObject *)_pDockWindow) { c->warning(__tr2qs("The added widget is not a child of this dock window")); } |