From 074a3e6db609cc04e0a5830b0c1884447d0e5bbb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:44:30 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- src/detailedlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/detailedlistview.cpp') diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp index 938c4a4..8d86262 100644 --- a/src/detailedlistview.cpp +++ b/src/detailedlistview.cpp @@ -378,7 +378,7 @@ Tellico::DetailedEntryItem* DetailedListView::locateItem(Data::EntryPtr entry_) bool DetailedListView::eventFilter(TQObject* obj_, TQEvent* ev_) { if(ev_->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(ev_)->button() == Qt::RightButton - && TQT_BASE_OBJECT(obj_) == TQT_BASE_OBJECT(header())) { + && obj_ == header()) { m_headerMenu->popup(TQT_TQMOUSEEVENT(ev_)->globalPos()); return true; } -- cgit v1.2.1