summaryrefslogtreecommitdiffstats
path: root/juk/searchwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/searchwidget.cpp')
-rw-r--r--juk/searchwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/juk/searchwidget.cpp b/juk/searchwidget.cpp
index be489358..19e98c33 100644
--- a/juk/searchwidget.cpp
+++ b/juk/searchwidget.cpp
@@ -139,7 +139,7 @@ bool SearchLine::eventFilter(TQObject *watched, TQEvent *e)
if(watched != m_lineEdit || e->type() != TQEvent::KeyPress)
return TQHBox::eventFilter(watched, e);
- TQKeyEvent *key = TQT_TQKEYEVENT(e);
+ TQKeyEvent *key = static_cast<TQKeyEvent*>(e);
if(key->key() == TQt::Key_Down)
emit signalDownPressed();