summaryrefslogtreecommitdiffstats
path: root/src/libgui/text_editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:42:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 23:37:58 +0900
commitaa5aa16b54b126dc8299b9b24d6d460c557ad67c (patch)
tree81d35d181ced3519569a88849088b21ed3772aaa /src/libgui/text_editor.cpp
parentfb9112c9ff4ae8380007e190ce68c8313ef46042 (diff)
downloadpiklab-aa5aa16b54b126dc8299b9b24d6d460c557ad67c.tar.gz
piklab-aa5aa16b54b126dc8299b9b24d6d460c557ad67c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c)
Diffstat (limited to 'src/libgui/text_editor.cpp')
-rw-r--r--src/libgui/text_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp
index f064ec4..34efcd7 100644
--- a/src/libgui/text_editor.cpp
+++ b/src/libgui/text_editor.cpp
@@ -83,7 +83,7 @@ void TextEditor::addToDebugManager()
bool TextEditor::eventFilter(TQObject *, TQEvent *e)
{
if ( e->type()==TQEvent::KeyPress ) {
- if ( TQT_TQKEYEVENT(e)->key()==Key_Escape ) return true;
+ if ( static_cast<TQKeyEvent*>(e)->key()==Key_Escape ) return true;
}
return false;
}