diff options
Diffstat (limited to 'khexedit/searchbar.cpp')
-rw-r--r-- | khexedit/searchbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/khexedit/searchbar.cpp b/khexedit/searchbar.cpp index 02fbb4e..aeb4b77 100644 --- a/khexedit/searchbar.cpp +++ b/khexedit/searchbar.cpp @@ -110,7 +110,7 @@ CSearchBar::CSearchBar( TQWidget *parent, const char *name, WFlags f ) // bool CSearchBar::eventFilter( TQObject *o, TQEvent *e ) { - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mInputEdit) && e->type() == TQEvent::KeyPress ) + if( o == mInputEdit && e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if( ke->key() == Key_Return ) |