GUI: Expand found results when using the scratchpad.
This commit is contained in:
parent
b66a214ce5
commit
5fc8f13fd6
|
@ -547,6 +547,10 @@ void MainWindow::analyzeCode(const QString& code, const QString& filename)
|
||||||
mUI.mResults->checkingStarted(1);
|
mUI.mResults->checkingStarted(1);
|
||||||
cppcheck.check(filename.toStdString(), code.toStdString());
|
cppcheck.check(filename.toStdString(), code.toStdString());
|
||||||
analysisDone();
|
analysisDone();
|
||||||
|
|
||||||
|
// Expand results
|
||||||
|
if(mUI.mResults->hasVisibleResults())
|
||||||
|
mUI.mResults->expandAllResults();
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode)
|
QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode)
|
||||||
|
|
Loading…
Reference in New Issue