[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kmymoney/kmymoney2/widgets
From: Cristian OneČ› <onet.cristian () gmail ! com>
Date: 2009-08-14 20:00:18
Message-ID: 1250280018.701816.28301.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1011488 by conet:
Warnings--
M +6 -6 transaction.cpp
--- trunk/playground/office/kmymoney/kmymoney2/widgets/transaction.cpp #1011487:1011488
@@ -761,27 +761,27 @@
for(it_s = list.begin(); it_s != list.end(); ++it_s) {
// check if the text is contained in one of the fields
// memo, number, payee, account
- if((*it_s).memo().contains(txt, false)
- || (*it_s).number().contains(txt, false))
+ if((*it_s).memo().contains(txt, Qt::CaseInsensitive)
+ || (*it_s).number().contains(txt, Qt::CaseInsensitive))
return true;
if(!(*it_s).payeeId().isEmpty()) {
const MyMoneyPayee& payee = file->payee((*it_s).payeeId());
- if(payee.name().contains(txt, false))
+ if(payee.name().contains(txt, Qt::CaseInsensitive))
return true;
}
const MyMoneyAccount& acc = file->account((*it_s).accountId());
- if(acc.name().contains(txt, false))
+ if(acc.name().contains(txt, Qt::CaseInsensitive))
return true;
if(!s.isEmpty()) {
// check if any of the value field matches if a value has been entered
QString r = (*it_s).value().formatMoney(m_account.fraction(), false);
- if(r.contains(s, false))
+ if(r.contains(s, Qt::CaseInsensitive))
return true;
const MyMoneyAccount& acc = file->account((*it_s).accountId());
r = (*it_s).shares().formatMoney(acc.fraction(), false);
- if(r.contains(s, false))
+ if(r.contains(s, Qt::CaseInsensitive))
return true;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic