From 9eda0ce52c8b86976bdd82810ae09034803f1bae Mon Sep 17 00:00:00 2001 From: Vesa Pikki Date: Sun, 22 Mar 2009 17:41:14 +0200 Subject: [PATCH] astyle formatting. --- gui/mainwindow.cpp | 4 ++-- gui/threadhandler.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index c27b019ad..d1c1e7f66 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -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() diff --git a/gui/threadhandler.cpp b/gui/threadhandler.cpp index 396608d13..e7e84de54 100644 --- a/gui/threadhandler.cpp +++ b/gui/threadhandler.cpp @@ -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); }