summaryrefslogtreecommitdiffstats
path: root/kasteroids/toplevel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kasteroids/toplevel.cpp')
-rw-r--r--kasteroids/toplevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kasteroids/toplevel.cpp b/kasteroids/toplevel.cpp
index 64a0c79d..2bb96a92 100644
--- a/kasteroids/toplevel.cpp
+++ b/kasteroids/toplevel.cpp
@@ -336,7 +336,7 @@ return; // remove this and the above when the sound below is working correctly
bool KAstTopLevel::eventFilter( TQObject* /* object */, TQEvent *event )
{
- TQKeyEvent *e = TQT_TQKEYEVENT(event);
+ TQKeyEvent *e = static_cast<TQKeyEvent*>(event);
if (event->type() == TQEvent::AccelOverride)
{
if (processKeyPress(e)) return true;