From eeae53f59df4d79d0399c2217a165ff2fab754db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Mar 2022 09:54:21 +0100 Subject: Replace the use of the old API TQString::data(). The definition of -UTQT_NO_COMPAT is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmymoney2/views/kinvestmentview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kmymoney2/views/kinvestmentview.cpp') 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; } -- cgit v1.2.1