summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kscheduledlistitem.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-03-17 18:50:52 +0100
committerSlávek Banko <[email protected]>2022-03-18 12:45:32 +0100
commit5e6c401557744fe5f9765471605cc793939fee1f (patch)
treefa1c9abe564d03a362378f8a7a6304e27baf9c33 /kmymoney2/views/kscheduledlistitem.cpp
parenteeae53f59df4d79d0399c2217a165ff2fab754db (diff)
downloadkmymoney-5e6c401557744fe5f9765471605cc793939fee1f.tar.gz
kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kmymoney2/views/kscheduledlistitem.cpp')
-rw-r--r--kmymoney2/views/kscheduledlistitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kscheduledlistitem.cpp b/kmymoney2/views/kscheduledlistitem.cpp
index c96fab7..3e30f8e 100644
--- a/kmymoney2/views/kscheduledlistitem.cpp
+++ b/kmymoney2/views/kscheduledlistitem.cpp
@@ -143,7 +143,7 @@ KScheduledListItem::KScheduledListItem(KScheduledListItem *parent, const MyMoney
else
setText(4, TDEGlobal::locale()->formatDate(schedule.adjustedNextDueDate(), true));
- setText(5, i18n(schedule.occurenceToString()));
+ setText(5, i18n(schedule.occurenceToString().utf8()));
setText(6, KMyMoneyUtils::paymentMethodToString(schedule.paymentType()));
}
catch (MyMoneyException *e)