astyle formatting.
This commit is contained in:
parent
84853aa7f9
commit
9eda0ce52c
|
@ -109,7 +109,7 @@ void MainWindow::DoCheckFiles(QFileDialog::FileMode mode)
|
||||||
mThread.SetFiles(RemoveUnacceptedFiles(fileNames));
|
mThread.SetFiles(RemoveUnacceptedFiles(fileNames));
|
||||||
mSettings.setValue(tr("Check path"), dialog.directory().absolutePath());
|
mSettings.setValue(tr("Check path"), dialog.directory().absolutePath());
|
||||||
EnableCheckButtons(false);
|
EnableCheckButtons(false);
|
||||||
mThread.Check(GetCppCheckSettings(),false);
|
mThread.Check(GetCppCheckSettings(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ void MainWindow::ReCheck()
|
||||||
{
|
{
|
||||||
ClearResults();
|
ClearResults();
|
||||||
EnableCheckButtons(false);
|
EnableCheckButtons(false);
|
||||||
mThread.Check(GetCppCheckSettings(),true);
|
mThread.Check(GetCppCheckSettings(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ClearResults()
|
void MainWindow::ClearResults()
|
||||||
|
|
|
@ -46,7 +46,8 @@ void ThreadHandler::SetFiles(const QStringList &files)
|
||||||
|
|
||||||
void ThreadHandler::Check(Settings settings, bool recheck)
|
void ThreadHandler::Check(Settings settings, bool recheck)
|
||||||
{
|
{
|
||||||
if (recheck && mRunningThreadCount == 0) {
|
if (recheck && mRunningThreadCount == 0)
|
||||||
|
{
|
||||||
mResults.SetFiles(mLastFiles);
|
mResults.SetFiles(mLastFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue