Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 1 year ago
parent faf5c354e2
commit 8b2c74585b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -67,7 +67,7 @@ bool KSVSpinBox::eventFilter (TQObject* o, TQEvent* e)
Q_UNUSED(o); Q_UNUSED(o);
if (e->type() == TQEvent::KeyPress) if (e->type() == TQEvent::KeyPress)
{ {
TQKeyEvent* ke = TQT_TQKEYEVENT(e); TQKeyEvent* ke = static_cast<TQKeyEvent*>(e);
switch (ke->key()) switch (ke->key())
{ {

Loading…
Cancel
Save