From 921a18db705b749a47e91438e9f6bbce580b992f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:45:50 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- src/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.1