diff options
author | David Faure <faure@kde.org> | 2017-12-02 09:46:35 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2017-12-02 09:46:35 +0100 |
commit | 45363ae55c3bd6308b268baf5db122ead219c2d3 (patch) | |
tree | 229dc4cfe68a0244d5138370c1e0e0ee8b88e3ad /autotests/kconfigtest.cpp | |
parent | ee2b394599ffe1242e3b7ae7d40b3469485dcd97 (diff) | |
download | kconfig-45363ae55c3bd6308b268baf5db122ead219c2d3.tar.gz kconfig-45363ae55c3bd6308b268baf5db122ead219c2d3.tar.bz2 |
Repair broken test after commit ee2b394599.
QStringLiteral is latin1, not utf8.
Diffstat (limited to 'autotests/kconfigtest.cpp')
-rw-r--r-- | autotests/kconfigtest.cpp | 2 |
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); |