GUI: Set Settings::libraries properly before analysis
This commit is contained in:
parent
03445c01c1
commit
08626b9815
|
@ -888,6 +888,7 @@ Settings MainWindow::getCppcheckSettings()
|
|||
|
||||
const QStringList libraries = mProjectFile->getLibraries();
|
||||
foreach (QString library, libraries) {
|
||||
result.libraries.emplace_back(library.toStdString());
|
||||
const QString filename = library + ".cfg";
|
||||
tryLoadLibrary(&result.library, filename);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue