summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kcurrencycalculator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kcurrencycalculator.cpp')
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp
index c27e337..1b73ecd 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.cpp
+++ b/kmymoney2/dialogs/kcurrencycalculator.cpp
@@ -72,7 +72,7 @@ bool KCurrencyCalculator::setupSplitPrice(MyMoneyMoney& shares, const MyMoneyTra
fromValue = s.value().abs();
// if we had a price info in the beginning, we use it here
- if(priceInfo.tqfind(cat.currencyId()) != priceInfo.end()) {
+ if(priceInfo.find(cat.currencyId()) != priceInfo.end()) {
toValue = (fromValue * priceInfo[cat.currencyId()]).convert(fract);
}