double quotes instead single (#1067)

This commit is contained in:
Boris Barbulovski 2018-01-30 08:43:49 +01:00 committed by Daniel Marjamäki
parent f5e6ef9fd2
commit 79bb91179b
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSetti
QStringList args;
args << addonFilePath << dumpFile;
if (addon == "misra" && !mMisraFile.isEmpty() && QFileInfo(mMisraFile).exists()) {
if (mMisraFile.endsWith('.pdf', Qt::CaseInsensitive))
if (mMisraFile.endsWith(".pdf", Qt::CaseInsensitive))
args << "--misra-pdf=" + mMisraFile;
else
args << "--rule-texts=" + mMisraFile;