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/mymoney/mymoneytransactionfilter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kmymoney2/mymoney/mymoneytransactionfilter.cpp') diff --git a/kmymoney2/mymoney/mymoneytransactionfilter.cpp b/kmymoney2/mymoney/mymoneytransactionfilter.cpp index fa4fd91..76fc4cb 100644 --- a/kmymoney2/mymoney/mymoneytransactionfilter.cpp +++ b/kmymoney2/mymoney/mymoneytransactionfilter.cpp @@ -849,13 +849,13 @@ bool MyMoneyTransactionFilter::translateDateRange(dateOptionE id, TQDate& start, void MyMoneyTransactionFilter::removeReference(const TQString& id) { if(m_accounts.find(id)) { - tqDebug("%s", (TQString("Remove account '%1' from report").arg(id)).data()); + tqDebug(TQString("Remove account '%1' from report").arg(id)); m_accounts.remove(id); } else if(m_categories.find(id)) { - tqDebug("%s", (TQString("Remove category '%1' from report").arg(id)).data()); + tqDebug(TQString("Remove category '%1' from report").arg(id)); m_categories.remove(id); } else if(m_payees.find(id)) { - tqDebug("%s", (TQString("Remove payee '%1' from report").arg(id)).data()); + tqDebug(TQString("Remove payee '%1' from report").arg(id)); m_payees.remove(id); } } -- cgit v1.2.1