diff options
Diffstat (limited to 'kexi/widget/kexibrowser.cpp')
-rw-r--r-- | kexi/widget/kexibrowser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/kexibrowser.cpp b/kexi/widget/kexibrowser.cpp index 3e16cddc..99deccf6 100644 --- a/kexi/widget/kexibrowser.cpp +++ b/kexi/widget/kexibrowser.cpp @@ -553,16 +553,16 @@ void KexiBrowser::installEventFilter ( const TQObject * filterObj ) { if (!filterObj) return; - m_list->installEventFilter ( const_cast<TQObject*>(filterObj) ); - TQWidget::installEventFilter ( const_cast<TQObject*>(filterObj) ); + m_list->installEventFilter ( filterObj ); + TQWidget::installEventFilter ( filterObj ); } bool KexiBrowser::eventFilter ( TQObject *o, TQEvent * e ) { - if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(m_list) && e->type()==TQEvent::Resize) { + if (o==m_list && e->type()==TQEvent::Resize) { kdDebug() << "resize!" << endl; } - if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(m_list->renameLineEdit())) { + if (o==m_list->renameLineEdit()) { if (e->type()==TQEvent::Hide) itemRenameDone(); } |