diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index 8fb911b94..e2210ba5c 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -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;