diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneycompletion.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneycompletion.cpp | 2 |
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()); |