GUI: in Clang/clang-tidy analysis the configuration name must start with 'Debug'

This commit is contained in:
Daniel Marjamäki 2017-08-10 11:16:19 +02:00
parent 018d59b393
commit 4cc5a594da
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void CheckThread::runAddons(const QString &addonPath, const ImportProject::FileS
if (!fileSettings)
continue;
if (!fileSettings->cfg.empty() && fileSettings->cfg.find("Debug") != std::string::npos)
if (!fileSettings->cfg.empty() && fileSettings->cfg.compare(0,5,"Debug") != 0)
continue;
QStringList args;