From ae35bc48cbbe82211fa27f49e2d4f3c8bcdbe0ec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:31:17 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit ef173e633b7d068c4ddd2209af41899ec44e47ce) --- knotes/knote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'knotes/knote.cpp') diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 2a2098b58..32cd586ff 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -1381,7 +1381,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev ) if ( o == m_editor ) { if ( ev->type() == TQEvent::FocusOut ) { - TQFocusEvent *fe = TQT_TQFOCUSEVENT(ev); + TQFocusEvent *fe = static_cast(ev); if ( fe->reason() != TQFocusEvent::Popup && fe->reason() != TQFocusEvent::Mouse ) { updateFocus(); -- cgit v1.2.1