summaryrefslogtreecommitdiffstats
path: root/khelpcenter
diff options
context:
space:
mode:
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" ) )