diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneytransaction.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneytransaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneytransaction.cpp b/kmymoney2/mymoney/mymoneytransaction.cpp index 662a9c8..f586da4 100644 --- a/kmymoney2/mymoney/mymoneytransaction.cpp +++ b/kmymoney2/mymoney/mymoneytransaction.cpp @@ -240,9 +240,9 @@ const MyMoneySplit& MyMoneyTransaction::splitByAccount(const TQStringList& accou TQValueList<MyMoneySplit>::ConstIterator it; for(it = m_splits.begin(); it != m_splits.end(); ++it) { - if(match == true && accountIds.tqcontains((*it).accountId()) ) + if(match == true && accountIds.contains((*it).accountId()) ) return *it; - if(match == false && !accountIds.tqcontains((*it).accountId())) + if(match == false && !accountIds.contains((*it).accountId())) return *it; } throw new MYMONEYEXCEPTION(TQString("Split not found for account %1%1...%2").tqarg(match?"":"!").tqarg(accountIds.front(),accountIds.back())); |