summaryrefslogtreecommitdiffstats
path: root/kasteroids
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:36 +0900
commit6022ab632c2ecf160a9f6f1fbb532506aeca3633 (patch)
treef0893fd10e55913a8798d4db8e6cf556fc4c9114 /kasteroids
parent92b9acd170e1c8c4d7a3cb49bc20748a619b5c87 (diff)
downloadtdegames-6022ab632c2ecf160a9f6f1fbb532506aeca3633.tar.gz
tdegames-6022ab632c2ecf160a9f6f1fbb532506aeca3633.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kasteroids')
-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;