From 073f3cb9f414fa91b21057e808eed6c34319e922 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 6 Feb 2021 23:02:20 +0200 Subject: Fix build on windows on the CI, again It's a QByteArray not a QString. GIT_SILENT --- 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 2417d56e..be84efec 100644 --- a/autotests/kconfigtest.cpp +++ b/autotests/kconfigtest.cpp @@ -1786,7 +1786,7 @@ void KConfigTest::testQStringUtf8() QVERIFY(readFile.open(QFile::ReadOnly)); QByteArray fileBytes = readFile.readAll(); #ifdef Q_OS_WIN - fileBytes.replace(QLatin1String{"\r\n"}, QLatin1String{"\n"}); + fileBytes.replace(QByteArrayLiteral("\r\n"), QByteArrayLiteral("\n")); #endif QCOMPARE(fileBytes, QByteArrayLiteral("[General]\nkey=") + serialized + QByteArrayLiteral("\n")); -- cgit v1.2.1