From 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:30:28 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- khelpcenter/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'khelpcenter') diff --git a/khelpcenter/view.cpp b/khelpcenter/view.cpp index 725ce0455..f7e5940fb 100644 --- a/khelpcenter/view.cpp +++ b/khelpcenter/view.cpp @@ -329,7 +329,7 @@ bool View::eventFilter( TQObject *o, TQEvent *e ) htmlDocument().links().length() == 0 ) return TDEHTMLPart::eventFilter( o, e ); - TQKeyEvent *ke = TQT_TQKEYEVENT( e ); + TQKeyEvent *ke = static_cast( e ); if ( ke->state() & TQt::ShiftButton && ke->key() == Key_Space ) { // If we're on the first page, it does not make sense to go back. if ( baseURL().path().endsWith( "/index.html" ) ) -- cgit v1.2.1