summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewinvestmentwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/knewinvestmentwizard.cpp')
-rw-r--r--kmymoney2/dialogs/knewinvestmentwizard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp
index a1e2e9e..3a963f2 100644
--- a/kmymoney2/dialogs/knewinvestmentwizard.cpp
+++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp
@@ -232,7 +232,7 @@ void KNewInvestmentWizard::slotHelp(void)
kapp->invokeHelp("details.investments.newinvestmentwizard");
}
-void KNewInvestmentWizard::createObjects(const TQString& tqparentId)
+void KNewInvestmentWizard::createObjects(const TQString& parentId)
{
MyMoneyFile* file = MyMoneyFile::instance();
@@ -299,7 +299,7 @@ void KNewInvestmentWizard::createObjects(const TQString& tqparentId)
}
if(m_account.id().isEmpty()) {
- MyMoneyAccount tqparent = file->account(tqparentId);
+ MyMoneyAccount tqparent = file->account(parentId);
file->addAccount(m_account, tqparent);
} else
file->modifyAccount(m_account);