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();
|
const QStringList libraries = mProjectFile->getLibraries();
|
||||||
foreach (QString library, libraries) {
|
foreach (QString library, libraries) {
|
||||||
|
result.libraries.emplace_back(library.toStdString());
|
||||||
const QString filename = library + ".cfg";
|
const QString filename = library + ".cfg";
|
||||||
tryLoadLibrary(&result.library, filename);
|
tryLoadLibrary(&result.library, filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue