summaryrefslogtreecommitdiffstats
path: root/umbrello
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-01 00:16:05 +0900
commitd6dc3a3da7d2a03c48ac877797101db18898962d (patch)
tree5c2a665551a149057bb395a0814261e05b25105b /umbrello
parent49d88f1853b0e3f7676c3d09d68a8c4ae4b2f6dc (diff)
downloadtdesdk-d6dc3a3da7d2a03c48ac877797101db18898962d.tar.gz
tdesdk-d6dc3a3da7d2a03c48ac877797101db18898962d.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 13093726579680e75f444dc8b0711af5b02a2f07)
Diffstat (limited to 'umbrello')
-rw-r--r--umbrello/umbrello/umllistview.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQMouseEvent*>(e);
if (me->button() == TQt::RightButton) {
if (m_pMenu) {
m_pMenu->hide();