Output GUI project name when checking starts or restarts
This commit is contained in:
parent
e9bc72b4f2
commit
6a7e4c838f
|
@ -295,6 +295,9 @@ void MainWindow::DoCheckFiles(const QStringList &files)
|
|||
|
||||
mUI.mResults->SetCheckDirectory(checkPath);
|
||||
Settings checkSettings = GetCppcheckSettings();
|
||||
|
||||
qDebug() << "Checking project file" << mProject->GetProjectFile()->GetFilename();
|
||||
|
||||
mThread->Check(checkSettings, false);
|
||||
}
|
||||
|
||||
|
@ -483,6 +486,8 @@ void MainWindow::ReCheck()
|
|||
Q_ASSERT(filesCount > 0); // If no files should not be able to recheck
|
||||
mUI.mResults->CheckingStarted(filesCount);
|
||||
|
||||
qDebug() << "Rechecking project file" << mProject->GetProjectFile()->GetFilename();
|
||||
|
||||
mThread->Check(GetCppcheckSettings(), true);
|
||||
}
|
||||
|
||||
|
|
|
@ -80,6 +80,15 @@ public:
|
|||
*/
|
||||
QStringList GetIgnoredPaths() const;
|
||||
|
||||
/**
|
||||
* @brief Get filename for the project file.
|
||||
* @return file name.
|
||||
*/
|
||||
QString GetFilename()
|
||||
{
|
||||
return mFilename;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set project root path.
|
||||
* @param rootpath new project root path.
|
||||
|
|
Loading…
Reference in New Issue