From 5e6c401557744fe5f9765471605cc793939fee1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Mar 2022 18:50:52 +0100 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST 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/converter/mymoneygncreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmymoney2/converter/mymoneygncreader.cpp') diff --git a/kmymoney2/converter/mymoneygncreader.cpp b/kmymoney2/converter/mymoneygncreader.cpp index 7e30f41..9377def 100644 --- a/kmymoney2/converter/mymoneygncreader.cpp +++ b/kmymoney2/converter/mymoneygncreader.cpp @@ -168,7 +168,7 @@ bool GncObject::isDataElement (const TQString &elName, const TQXmlAttributes& el TQString GncObject::var (int i) const { return (pMain->m_decoder == 0 ? *(m_v.at(i)) - : pMain->m_decoder->toUnicode (*(m_v.at(i)))); + : pMain->m_decoder->toUnicode((m_v.at(i))->utf8())); } void GncObject::adjustHideFactor () { -- cgit v1.2.1