summaryrefslogtreecommitdiffstats
path: root/src/editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.cpp')
-rw-r--r--src/editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.cpp b/src/editor.cpp
index 93a7fd2..d8028eb 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -778,7 +778,7 @@ EditorCompletion::~EditorCompletion()
bool EditorCompletion::eventFilter( TQObject *obj, TQEvent *ev )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(d->completionPopup) || TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(d->completionListBox) )
+ if ( obj == d->completionPopup || obj == d->completionListBox )
{
if ( ev->type() == TQEvent::KeyPress )