diff options
Diffstat (limited to 'kate/app/katemdi.cpp')
-rw-r--r-- | kate/app/katemdi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/app/katemdi.cpp b/kate/app/katemdi.cpp index d3d4528b1..43c2f8925 100644 --- a/kate/app/katemdi.cpp +++ b/kate/app/katemdi.cpp @@ -256,8 +256,8 @@ 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())->tqt_cast("TQWidget")) { - setFocusProxy (::tqt_cast<TQWidget*>(TQT_TQOBJECT(ev->child()))); + if (ev->inserted() && ev->child() && ev->child()->tqt_cast("TQWidget")) { + setFocusProxy (::tqt_cast<TQWidget*>(ev->child())); } TQVBox::childEvent (ev); |