summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kinstitutionsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kinstitutionsview.cpp')
-rw-r--r--kmymoney2/views/kinstitutionsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kinstitutionsview.cpp b/kmymoney2/views/kinstitutionsview.cpp
index 4219851..544cb0c 100644
--- a/kmymoney2/views/kinstitutionsview.cpp
+++ b/kmymoney2/views/kinstitutionsview.cpp
@@ -133,7 +133,7 @@ void KInstitutionsView::loadAccounts(void)
TQMap<TQString, MyMoneyAccount>::iterator it_am;
for(it_am = m_accountMap.begin(); it_am != m_accountMap.end(); ++it_am) {
if((*it_am).isInvest()) {
- (*it_am).setInstitutionId(m_accountMap[(*it_am).tqparentAccountId()].institutionId());
+ (*it_am).setInstitutionId(m_accountMap[(*it_am).parentAccountId()].institutionId());
}
}