aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2017-12-02 09:46:35 +0100
committerDavid Faure <faure@kde.org>2017-12-02 09:46:35 +0100
commit45363ae55c3bd6308b268baf5db122ead219c2d3 (patch)
tree229dc4cfe68a0244d5138370c1e0e0ee8b88e3ad
parentee2b394599ffe1242e3b7ae7d40b3469485dcd97 (diff)
downloadkconfig-45363ae55c3bd6308b268baf5db122ead219c2d3.tar.gz
kconfig-45363ae55c3bd6308b268baf5db122ead219c2d3.tar.bz2
Repair broken test after commit ee2b394599.
QStringLiteral is latin1, not utf8.
-rw-r--r--autotests/kconfigtest.cpp2
1 files changed, 1 insertions, 1 deletions
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);