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/kconfigcompiler_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp') diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp index 6afc0096..014bc0f3 100644 --- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp +++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp @@ -119,8 +119,8 @@ void KConfigCompiler_Test::testBaselineComparison() qWarning() << "Failed to open" << fileRef.fileName() << "(" << testName << ".ref )"; QFAIL("Can't open file for comparison"); } - QString content = file.readAll(); - QString contentRef = fileRef.readAll(); + const QByteArray content = file.readAll(); + const QByteArray contentRef = fileRef.readAll(); if (content != contentRef) { appendFileDiff(fileRef.fileName(), file.fileName()); -- cgit v1.2.1