diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-14 13:39:50 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-14 14:57:14 +0300 |
commit | 4d9fd9f60e65e28a26c2ca4a0e9746685d17d51e (patch) | |
tree | 8fb3694f9710f754f7eaa16f93c48a017b31dc55 /test | |
parent | c366cf93aab29b1bb5491eca1ed55dae50a523a4 (diff) |
Ensure we don't format log messages in anything but utf8
Diffstat (limited to 'test')
-rw-r--r-- | test/testsyncengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp index 3f1ca6341..e5d45950c 100644 --- a/test/testsyncengine.cpp +++ b/test/testsyncengine.cpp @@ -621,7 +621,7 @@ private slots: { const auto utf8Locale = QTextCodec::codecForLocale(); if (utf8Locale->mibEnum() != 106) { - QSKIP(qPrintable(QStringLiteral("Test only works for UTF8 locale, but current locale is %1").arg(QString::fromUtf8(utf8Locale->name())))); + QSKIP(qUtf8Printable(QStringLiteral("Test only works for UTF8 locale, but current locale is %1").arg(QString::fromUtf8(utf8Locale->name())))); } FakeFolder fakeFolder{ FileInfo::A12_B12_C12_S12() }; |