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));
|
||||
mSettings.setValue(tr("Check path"), dialog.directory().absolutePath());
|
||||
EnableCheckButtons(false);
|
||||
mThread.Check(GetCppCheckSettings(),false);
|
||||
mThread.Check(GetCppCheckSettings(), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -209,7 +209,7 @@ void MainWindow::ReCheck()
|
|||
{
|
||||
ClearResults();
|
||||
EnableCheckButtons(false);
|
||||
mThread.Check(GetCppCheckSettings(),true);
|
||||
mThread.Check(GetCppCheckSettings(), true);
|
||||
}
|
||||
|
||||
void MainWindow::ClearResults()
|
||||
|
|
|
@ -46,7 +46,8 @@ void ThreadHandler::SetFiles(const QStringList &files)
|
|||
|
||||
void ThreadHandler::Check(Settings settings, bool recheck)
|
||||
{
|
||||
if (recheck && mRunningThreadCount == 0) {
|
||||
if (recheck && mRunningThreadCount == 0)
|
||||
{
|
||||
mResults.SetFiles(mLastFiles);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue