summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksysv/SpinBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksysv/SpinBox.cpp b/ksysv/SpinBox.cpp
index cb56bbe..5ff296b 100644
--- a/ksysv/SpinBox.cpp
+++ b/ksysv/SpinBox.cpp
@@ -67,7 +67,7 @@ bool KSVSpinBox::eventFilter (TQObject* o, TQEvent* e)
Q_UNUSED(o);
if (e->type() == TQEvent::KeyPress)
{
- TQKeyEvent* ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ke = static_cast<TQKeyEvent*>(e);
switch (ke->key())
{