summaryrefslogtreecommitdiffstats
path: root/khelpcenter/view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:30:28 +0900
committerMichele Calgaro <[email protected]>2023-12-02 22:50:02 +0900
commitb19e4cab8888a6f486ebdb7242ea5f65435cb68c (patch)
treeb23c2cdc474711742f76fa71df81896c3f421c94 /khelpcenter/view.cpp
parent6b5d95d534223dc1d09d8d8f5eec1f146d8b1dec (diff)
downloadtdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.tar.gz
tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
Diffstat (limited to 'khelpcenter/view.cpp')
-rw-r--r--khelpcenter/view.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQKeyEvent*>( 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" ) )