From 9b77564bcd0389be0f4af6cf74890ca8264f68a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:40:41 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 3477bc314ee51af99a2111d913a171ac5eae7b74) --- src/common/gui/list_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/gui/list_view.cpp') diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp index d500f7b..97e6b16 100644 --- a/src/common/gui/list_view.cpp +++ b/src/common/gui/list_view.cpp @@ -45,7 +45,7 @@ bool ListView::eventFilter(TQObject *o, TQEvent *e) TQValueList::const_iterator it; for (it=_editItems.begin(); it!=_editItems.end(); ++it) { for (uint i=0; i<(*it)->_editWidgets.count(); i++) { - if ( TQT_BASE_OBJECT((*it)->_editWidgets[i])==TQT_BASE_OBJECT(o) ) { + if ( (*it)->_editWidgets[i]==o ) { //tqDebug("event %i", e->type()); switch (e->type()) { case TQEvent::KeyPress: { -- cgit v1.2.1