summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kinvestmentview.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-03-17 09:54:21 +0100
committerSlávek Banko <[email protected]>2022-03-18 12:45:32 +0100
commiteeae53f59df4d79d0399c2217a165ff2fab754db (patch)
tree768c8b3c67ed80698dcb4e66285ad673e9d3fb0f /kmymoney2/views/kinvestmentview.cpp
parenta6454b1658d325d6ff2d6ba6c349b772148798e0 (diff)
downloadkmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.tar.gz
kmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.zip
Replace the use of the old API TQString::data().
The definition of -UTQT_NO_COMPAT is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
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;
}