From bce76d2e73a462de673d18dbf6d94da0c592bf08 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Thu, 4 Feb 2021 14:06:34 +0200 Subject: Less implicit cast from ASCII NO_CHANGELOG --- autotests/kconfig_compiler/test4main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/test4main.cpp') diff --git a/autotests/kconfig_compiler/test4main.cpp b/autotests/kconfig_compiler/test4main.cpp index 2d48e440..8792842f 100644 --- a/autotests/kconfig_compiler/test4main.cpp +++ b/autotests/kconfig_compiler/test4main.cpp @@ -19,7 +19,7 @@ int main(int argc, char **argv) group.writeEntry(QStringLiteral("foo bar"), QStringLiteral("Value")); } Test4 *t = Test4::self(); - bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/test4rc"); + const bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1String{"/test4rc"}); if (!ok) { qWarning() << "config file was not created!"; } -- cgit v1.2.1