summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kinvestmentview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kinvestmentview.cpp')
-rw-r--r--kmymoney2/views/kinvestmentview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/views/kinvestmentview.cpp b/kmymoney2/views/kinvestmentview.cpp
index dbaf41a..5919775 100644
--- a/kmymoney2/views/kinvestmentview.cpp
+++ b/kmymoney2/views/kinvestmentview.cpp
@@ -185,7 +185,7 @@ void KInvestmentView::loadAccounts(void)
try {
d->m_precision = MyMoneyMoney::denomToPrec(d->m_account.fraction());
} catch(MyMoneyException *e) {
- tqDebug("Security %s for account %s not found", d->m_account.currencyId().data(), d->m_account.name().data());
+ tqDebug(TQString("Security %1 for account %2 not found").arg(d->m_account.currencyId()).arg(d->m_account.name()));
delete e;
d->m_precision = 2;
}
@@ -234,7 +234,7 @@ bool KInvestmentView::slotSelectAccount(const TQString& id, const TQString& tran
}
} catch(MyMoneyException* e) {
- tqDebug("Unable to retrieve account %s", id.data());
+ tqDebug(TQString("Unable to retrieve account %1").arg(id));
delete e;
rc = false;
}