summaryrefslogtreecommitdiffstats
path: root/src/common/gui/list_view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:42:04 +0900
committerMichele Calgaro <[email protected]>2023-11-30 20:42:04 +0900
commitcda5b603bcae56e1e6d49ebbcefa6dbe89b8190c (patch)
tree7d74459181451f87c00378514ea980bc905b9dd8 /src/common/gui/list_view.cpp
parent753b5724e1fdbfb87852395722717a9c1643baa3 (diff)
downloadpiklab-cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c.tar.gz
piklab-cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
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: