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 8a4b599..529ec7f 100644
--- a/kmymoney2/widgets/kmymoneycompletion.cpp
+++ b/kmymoney2/widgets/kmymoneycompletion.cpp
@@ -169,7 +169,7 @@ bool kMyMoneyCompletion::eventFilter(TQObject* o, TQEvent* e)
KMyMoneyCombo *c = dynamic_cast<KMyMoneyCombo*>(m_parent);
TQListViewItem* item;
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_parent) || (c && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(c->lineEdit()))) {
+ if(o == m_parent || (c && o == c->lineEdit())) {
if(isVisible()) {
if(type == TQEvent::KeyPress) {
TQKeyEvent* ev = TQT_TQKEYEVENT (e);