summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneysplittable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 231aaf8..6f62d44 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -324,7 +324,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
// in case we have the 'enter moves focus between fields', we need to simulate
// a TAB key when the object 'o' points to the category or memo field.
if(KMyMoneyGlobalSettings::enterMovesBetweenFields()) {
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editCategory->lineEdit()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editMemo)) {
+ if(o == m_editCategory->lineEdit() || o == m_editMemo) {
terminate = false;
TQKeyEvent evt(e->type(),
Key_Tab, 0, k->state(), TQString(),