diff options
Diffstat (limited to 'kate/app/katemdi.cpp')
-rw-r--r-- | kate/app/katemdi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/app/katemdi.cpp b/kate/app/katemdi.cpp index c01d9c137..d214def27 100644 --- a/kate/app/katemdi.cpp +++ b/kate/app/katemdi.cpp @@ -256,7 +256,7 @@ bool ToolView::visible () const void ToolView::childEvent ( TQChildEvent *ev ) { // set the widget to be focus proxy if possible - if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->qt_cast("TQWidget")) { + if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->qt_cast(TQWIDGET_OBJECT_NAME_STRING)) { setFocusProxy (::tqqt_cast<QWidget*>(TQT_TQOBJECT(ev->child()))); } |