From 49e34b02b0bb609ce6e9ff1d2d96bdfcb03617d1 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 (cherry picked from commit 5e6c401557744fe5f9765471605cc793939fee1f) --- kmymoney2/widgets/kmymoneybriefschedule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kmymoney2/widgets/kmymoneybriefschedule.cpp') diff --git a/kmymoney2/widgets/kmymoneybriefschedule.cpp b/kmymoney2/widgets/kmymoneybriefschedule.cpp index 53085f0..0c89162 100644 --- a/kmymoney2/widgets/kmymoneybriefschedule.cpp +++ b/kmymoney2/widgets/kmymoneybriefschedule.cpp @@ -114,12 +114,12 @@ void KMyMoneyBriefSchedule::loadSchedule() .arg(TDEGlobal::locale()->formatDate(m_date, true)) .arg(amount.formatMoney(sched.account().fraction())) .arg(TQString::number(transactions)) - .arg(i18n(sched.occurenceToString())); + .arg(i18n(sched.occurenceToString().utf8())); } else { text = i18n("Payment on %1 for %2 occuring %4.") .arg(TDEGlobal::locale()->formatDate(m_date, true)) .arg(amount.formatMoney(sched.account().fraction())) - .arg(i18n(sched.occurenceToString())); + .arg(i18n(sched.occurenceToString().utf8())); } if (m_date < TQDate::currentDate()) -- cgit v1.2.1