diff options
Diffstat (limited to 'kbabel/kbabeldict/kbabeldictbox.cpp')
-rw-r--r-- | kbabel/kbabeldict/kbabeldictbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp index 5abd7215..bb0b108c 100644 --- a/kbabel/kbabeldict/kbabeldictbox.cpp +++ b/kbabel/kbabeldict/kbabeldictbox.cpp @@ -1534,7 +1534,7 @@ void KBabelDictBox::configure(const TQString& id, bool modal) void KBabelDictBox::destroyConfigDialog() { - const TQObject *obj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *obj = sender(); if(obj && obj->inherits("KDialogBase")) { KDialogBase *dialog = (KDialogBase*)obj; @@ -1616,7 +1616,7 @@ bool KBabelDictBox::eventFilter(TQObject *o, TQEvent *e) return true; } } - else if(e->type() == TQEvent::Resize && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(resultListView)) + else if(e->type() == TQEvent::Resize && o == resultListView) { if(resultListView->height() < 2) { |