From 55ad06a7b2e284d37edbc8bf9daad0bfcb959619 Mon Sep 17 00:00:00 2001 From: Vesa Pikki Date: Sun, 22 Mar 2009 19:38:03 +0200 Subject: [PATCH] Astyle formatting. --- gui/mainwindow.cpp | 20 ++++++++++---------- gui/resultstree.cpp | 6 +++--- gui/resultstree.h | 3 ++- gui/resultsview.cpp | 2 +- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index bf4b1dc6c..74051a2aa 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -109,11 +109,11 @@ void MainWindow::LoadSettings() mActionShowUnused.setChecked(mSettings.value(tr("Show unused"), true).toBool()); mActionShowErrors.setChecked(mSettings.value(tr("Show errors"), true).toBool()); - mResults.ShowResults(SHOW_ALL,mActionShowAll.isChecked()); - mResults.ShowResults(SHOW_ERRORS,mActionShowErrors.isChecked()); - mResults.ShowResults(SHOW_SECURITY,mActionShowSecurity.isChecked()); - mResults.ShowResults(SHOW_STYLE,mActionShowStyle.isChecked()); - mResults.ShowResults(SHOW_UNUSED,mActionShowUnused.isChecked()); + mResults.ShowResults(SHOW_ALL, mActionShowAll.isChecked()); + mResults.ShowResults(SHOW_ERRORS, mActionShowErrors.isChecked()); + mResults.ShowResults(SHOW_SECURITY, mActionShowSecurity.isChecked()); + mResults.ShowResults(SHOW_STYLE, mActionShowStyle.isChecked()); + mResults.ShowResults(SHOW_UNUSED, mActionShowUnused.isChecked()); } void MainWindow::SaveSettings() @@ -270,25 +270,25 @@ void MainWindow::EnableCheckButtons(bool enable) void MainWindow::ShowAll(bool checked) { - mResults.ShowResults(SHOW_ALL,checked); + mResults.ShowResults(SHOW_ALL, checked); } void MainWindow::ShowSecurity(bool checked) { - mResults.ShowResults(SHOW_SECURITY,checked); + mResults.ShowResults(SHOW_SECURITY, checked); } void MainWindow::ShowStyle(bool checked) { - mResults.ShowResults(SHOW_STYLE,checked); + mResults.ShowResults(SHOW_STYLE, checked); } void MainWindow::ShowUnused(bool checked) { - mResults.ShowResults(SHOW_UNUSED,checked); + mResults.ShowResults(SHOW_UNUSED, checked); } void MainWindow::ShowErrors(bool checked) { - mResults.ShowResults(SHOW_ERRORS,checked); + mResults.ShowResults(SHOW_ERRORS, checked); } diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 2b38fbf10..75faa870e 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -69,11 +69,11 @@ void ResultsTree::AddErrorItem(const QString &file, item.message = message; item.files = files; item.lines = lines; - mItems<ShowResults(type,show); + mTree->ShowResults(type, show); }