summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 8aec576..0b339de 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -1271,7 +1271,7 @@ bool TDEGlobalLedgerView::eventFilter(TQObject* o, TQEvent* e)
bool rc = false;
if(e->type() == TQEvent::KeyPress) {
- TQKeyEvent *k = TQT_TQKEYEVENT(e);
+ TQKeyEvent *k = static_cast<TQKeyEvent*>(e);
if(m_inEditMode) {
// tqDebug(TQString("object = %1, key = %2").arg(o->className()).arg(k->key()));
if(o == m_register) {