From 7ef70d6552605c1df5653f039314c3ac568069cc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:31:00 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- kmix/mdwswitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmix/mdwswitch.cpp') diff --git a/kmix/mdwswitch.cpp b/kmix/mdwswitch.cpp index 9a59028e..48b918a3 100644 --- a/kmix/mdwswitch.cpp +++ b/kmix/mdwswitch.cpp @@ -219,7 +219,7 @@ void MDWSwitch::setDisabled( bool value ) { bool MDWSwitch::eventFilter( TQObject* obj, TQEvent* e ) { if (e->type() == TQEvent::MouseButtonPress) { - TQMouseEvent *qme = TQT_TQMOUSEEVENT(e); + TQMouseEvent *qme = static_cast(e); if (qme->button() == TQt::RightButton) { showContextMenu(); return true; -- cgit v1.2.1