astyle formatting.

This commit is contained in:
Vesa Pikki 2009-03-22 17:41:14 +02:00
parent 84853aa7f9
commit 9eda0ce52c
2 changed files with 4 additions and 3 deletions

View File

@ -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()

View File

@ -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);
}