summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneycompletion.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycompletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp
index ef763cc..eb818d8 100644
--- a/kmymoney2/widgets/kmymoneycompletion.cpp
+++ b/kmymoney2/widgets/kmymoneycompletion.cpp
@@ -172,7 +172,7 @@ bool kMyMoneyCompletion::eventFilter(TQObject* o, TQEvent* e)
if(o == m_parent || (c && o == c->lineEdit())) {
if(isVisible()) {
if(type == TQEvent::KeyPress) {
- TQKeyEvent* ev = TQT_TQKEYEVENT (e);
+ TQKeyEvent* ev = static_cast<TQKeyEvent*> (e);
TQKeyEvent evt(TQEvent::KeyPress,
Key_Down, 0, ev->state(), TQString(),
ev->isAutoRepeat(), ev->count());