summaryrefslogtreecommitdiffstats
path: root/khelpcenter
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 14:46:25 +0900
commit8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch)
tree9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /khelpcenter
parent5590077e66774b629235516744993014360c3d25 (diff)
downloadtdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz
tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khelpcenter')
-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" ) )