diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:36 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 22:45:14 +0900 |
| commit | 03c3d2268077e447b3a6315871c513ec91664361 (patch) | |
| tree | 68e839d7148b12a96055d9f45aee51b2431e34e1 /kasteroids/toplevel.cpp | |
| parent | f240b9f9ab5e470063b404b8dcdc665bbfc7d8c9 (diff) | |
| download | tdegames-03c3d2268077e447b3a6315871c513ec91664361.tar.gz tdegames-03c3d2268077e447b3a6315871c513ec91664361.zip | |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6022ab632c2ecf160a9f6f1fbb532506aeca3633)
Diffstat (limited to 'kasteroids/toplevel.cpp')
| -rw-r--r-- | kasteroids/toplevel.cpp | 2 |
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; |
