diff options
Diffstat (limited to 'autotests/test_kconf_update.cpp')
-rw-r--r-- | autotests/test_kconf_update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/test_kconf_update.cpp b/autotests/test_kconf_update.cpp index 88ba385f..f08e06ca 100644 --- a/autotests/test_kconf_update.cpp +++ b/autotests/test_kconf_update.cpp @@ -47,7 +47,7 @@ static QString readFile(const QString &path) QString ret = QString::fromUtf8(file.readAll()); #ifdef Q_OS_WIN // KConfig always writes files with the native line ending, the test comparison uses \n - ret.replace("\r\n", "\n"); + ret.replace(QLatin1String{"\r\n"}, QLatin1String{"\n"}); #endif return ret; } |