Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-06-14 13:39:50 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-14 14:57:14 +0300
commit4d9fd9f60e65e28a26c2ca4a0e9746685d17d51e (patch)
tree8fb3694f9710f754f7eaa16f93c48a017b31dc55 /test
parentc366cf93aab29b1bb5491eca1ed55dae50a523a4 (diff)
Ensure we don't format log messages in anything but utf8
Diffstat (limited to 'test')
-rw-r--r--test/testsyncengine.cpp2
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() };