summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kinvestmentlistitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kinvestmentlistitem.cpp')
-rw-r--r--kmymoney2/views/kinvestmentlistitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kinvestmentlistitem.cpp b/kmymoney2/views/kinvestmentlistitem.cpp
index f3cf29b..1429cd0 100644
--- a/kmymoney2/views/kinvestmentlistitem.cpp
+++ b/kmymoney2/views/kinvestmentlistitem.cpp
@@ -149,7 +149,7 @@ const TQString KInvestmentListItem::calculateGain(const equity_price_history& hi
equity_price_history::ConstIterator itToday = history.end();
for(tempDate = TQDate::tqcurrentDate(); tempDate >= comparisonDate; )
{
- itToday = history.tqfind(tempDate);
+ itToday = history.find(tempDate);
if(itToday != history.end())
{
currentValue = itToday.data();