GUI: ensure Settings::terminated is false when analysis is started
This commit is contained in:
parent
da255c35d3
commit
c0c7a0a877
|
@ -558,6 +558,8 @@ QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode)
|
||||||
|
|
||||||
void MainWindow::analyzeFiles()
|
void MainWindow::analyzeFiles()
|
||||||
{
|
{
|
||||||
|
Settings::terminate(false);
|
||||||
|
|
||||||
QStringList selected = selectFilesToAnalyze(QFileDialog::ExistingFiles);
|
QStringList selected = selectFilesToAnalyze(QFileDialog::ExistingFiles);
|
||||||
|
|
||||||
const QString file0 = (selected.size() ? selected[0].toLower() : QString());
|
const QString file0 = (selected.size() ? selected[0].toLower() : QString());
|
||||||
|
@ -1370,6 +1372,8 @@ bool MainWindow::loadLastResults()
|
||||||
|
|
||||||
void MainWindow::analyzeProject(const ProjectFile *projectFile)
|
void MainWindow::analyzeProject(const ProjectFile *projectFile)
|
||||||
{
|
{
|
||||||
|
Settings::terminate(false);
|
||||||
|
|
||||||
QFileInfo inf(projectFile->getFilename());
|
QFileInfo inf(projectFile->getFilename());
|
||||||
const QString rootpath = projectFile->getRootPath();
|
const QString rootpath = projectFile->getRootPath();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue