summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-11-04 02:23:25 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-11-04 04:21:58 +0100
commitf971d07fa3ac7f9390bff42109880d65167a724f (patch)
tree9dc754f7dcd36a49bdba59cc38b77c245bd6a180 /src
parent0b2c4d9d78db599b2232cbdf79b8dc0eb1412182 (diff)
downloadksplash-engine-moodin-f971d07fa3ac7f9390bff42109880d65167a724f.tar.gz
ksplash-engine-moodin-f971d07fa3ac7f9390bff42109880d65167a724f.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 <slavek.banko@axis.cz> (cherry picked from commit 64c09a0ec1110811841883ae7260c7df447e022c)
Diffstat (limited to 'src')
-rw-r--r--src/magiclabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/magiclabel.cpp b/src/magiclabel.cpp
index 0613720..b22461d 100644
--- a/src/magiclabel.cpp
+++ b/src/magiclabel.cpp
@@ -31,7 +31,7 @@ MagicLabel::MagicLabel(TQString s, bool translate)
transform();
if (translate)
- mValue = i18n(mValue);
+ mValue = i18n(mValue.utf8());
}