summaryrefslogtreecommitdiffstats
path: root/src/common/gui/list_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/list_view.cpp')
-rw-r--r--src/common/gui/list_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp
index 97e6b16..8fbeee2 100644
--- a/src/common/gui/list_view.cpp
+++ b/src/common/gui/list_view.cpp
@@ -49,7 +49,7 @@ bool ListView::eventFilter(TQObject *o, TQEvent *e)
//tqDebug("event %i", e->type());
switch (e->type()) {
case TQEvent::KeyPress: {
- TQKeyEvent *ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
switch (ke->key()) {
case Key_Enter:
case Key_Return: