GUI: Fixed suppressions when reanalyzing files
This commit is contained in:
parent
1f747d0b14
commit
d661ab09ce
|
@ -490,6 +490,7 @@ void MainWindow::doAnalyzeFiles(const QStringList &files, const bool checkLibrar
|
|||
mThread->setFiles(fileNames);
|
||||
if (mProjectFile && !checkConfiguration)
|
||||
mThread->setAddonsAndTools(mProjectFile->getAddonsAndTools(), mSettings->value(SETTINGS_MISRA_FILE).toString());
|
||||
mThread->setSuppressions(mProjectFile ? mProjectFile->getSuppressions() : QList<Suppressions::Suppression>());
|
||||
QDir inf(mCurrentDirectory);
|
||||
const QString checkPath = inf.canonicalPath();
|
||||
setPath(SETTINGS_LAST_CHECK_PATH, checkPath);
|
||||
|
|
Loading…
Reference in New Issue