From 45363ae55c3bd6308b268baf5db122ead219c2d3 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 2 Dec 2017 09:46:35 +0100 Subject: Repair broken test after commit ee2b394599. QStringLiteral is latin1, not utf8. --- autotests/kconfigtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests') diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp index b7bf230a..26e2313c 100644 --- a/autotests/kconfigtest.cpp +++ b/autotests/kconfigtest.cpp @@ -435,7 +435,7 @@ void KConfigTest::testLocale() void KConfigTest::testEncoding() { - QString groupstr = QStringLiteral("UTF-8:\xc3\xb6l"); + QString groupstr = QString::fromUtf8("UTF-8:\xc3\xb6l"); KConfig c(TEST_SUBDIR "kconfigtestencodings"); KConfigGroup cg(&c, groupstr); -- cgit v1.2.1