From dfb81fda2a1f149bacf303bda7f4b3821b4c96d4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:31:38 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit 99f7cd1932291ac8fe822b13cd1077da6433f279) --- ksim/monitors/filesystem/filesystemwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksim/monitors/filesystem') diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp index b60ba43..4a63e04 100644 --- a/ksim/monitors/filesystem/filesystemwidget.cpp +++ b/ksim/monitors/filesystem/filesystemwidget.cpp @@ -151,7 +151,7 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e) if (o == progressBar && e->type() == TQEvent::MouseButtonPress) { - switch(TQT_TQMOUSEEVENT(e)->button()) { + switch(static_cast(e)->button()) { case TQt::RightButton: showMenu(i); break; -- cgit v1.2.1