diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-06 23:02:20 +0200 | 
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-06 23:02:20 +0200 | 
| commit | 073f3cb9f414fa91b21057e808eed6c34319e922 (patch) | |
| tree | dcd5a2b115247883b3b32e4d99e80d02c34d3912 | |
| parent | 65e5f9f01078ec993648da3a132f60c7f07ff27d (diff) | |
| download | kconfig-073f3cb9f414fa91b21057e808eed6c34319e922.tar.gz kconfig-073f3cb9f414fa91b21057e808eed6c34319e922.tar.bz2 | |
Fix build on windows on the CI, again
It's a QByteArray not a QString.
GIT_SILENT
| -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 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")); | 
