diff options
Diffstat (limited to 'src/libgui/text_editor.cpp')
-rw-r--r-- | src/libgui/text_editor.cpp | 2 |
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; } |