From 13093726579680e75f444dc8b0711af5b02a2f07 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:31:25 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- umbrello/umbrello/umllistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'umbrello') diff --git a/umbrello/umbrello/umllistview.cpp b/umbrello/umbrello/umllistview.cpp index cf38403c..0a7b1183 100644 --- a/umbrello/umbrello/umllistview.cpp +++ b/umbrello/umbrello/umllistview.cpp @@ -144,7 +144,7 @@ UMLListView::~UMLListView() {} bool UMLListView::eventFilter(TQObject *o, TQEvent *e) { if (e->type() != TQEvent::MouseButtonPress || !o->isA("TQHeader")) return TQListView::eventFilter(o, e); - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast(e); if (me->button() == TQt::RightButton) { if (m_pMenu) { m_pMenu->hide(); -- cgit v1.2.1