aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorImran Tatriev <itatriev@gmail.com>2015-12-23 20:57:57 +0600
committerImran Tatriev <itatriev@gmail.com>2015-12-23 20:57:57 +0600
commit74d30c02373383748219318372907539d8259250 (patch)
tree21e20ecb317dba98a073429796a3459b6faea133 /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parent48d8290107091cb324633895f287ca47f70bb972 (diff)
downloadkconfig-74d30c02373383748219318372907539d8259250.tar.gz
kconfig-74d30c02373383748219318372907539d8259250.tar.bz2
Fix some Clazy warnings
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index 231e3c45..88b462ef 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -87,7 +87,7 @@ static CompilerTestSet willFailCases = {
void KConfigCompiler_Test::initTestCase()
{
- m_diffExe = QStandardPaths::findExecutable("diff");
+ m_diffExe = QStandardPaths::findExecutable( QStringLiteral("diff") );
if (m_diffExe.isEmpty()) {
qDebug() << "diff command not found, detailed info on comparison failure will not be available.";
}
@@ -165,7 +165,7 @@ void KConfigCompiler_Test::appendFileDiff(const QString &oldFile, const QString
}
QStringList args;
- args << "-u";
+ args << QStringLiteral("-u");
args << QFileInfo(oldFile).absoluteFilePath();
args << QFileInfo(newFile).absoluteFilePath();