From f04bdccee4d13b0031348daa511f95bade8a5a68 Mon Sep 17 00:00:00 2001 From: Vesa Pikki Date: Sun, 22 Mar 2009 15:15:16 +0200 Subject: [PATCH] Astyle formatting. --- gui/mainwindow.cpp | 4 ++-- gui/resultstree.cpp | 2 +- gui/settingsdialog.h | 28 ++++++++++++++-------------- gui/threadhandler.cpp | 7 ++++--- test/testautovariables.cpp | 4 ++-- 5 files changed, 23 insertions(+), 22 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 0b277a13b..7b0d00f10 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -84,7 +84,7 @@ void MainWindow::SaveSettings() void MainWindow::DoCheckFiles(QFileDialog::FileMode mode) { QFileDialog dialog(this); - dialog.setDirectory(QDir(mSettings.value(tr("Check path"),"").toString())); + dialog.setDirectory(QDir(mSettings.value(tr("Check path"), "").toString())); dialog.setFileMode(mode); if (dialog.exec()) @@ -93,7 +93,7 @@ void MainWindow::DoCheckFiles(QFileDialog::FileMode mode) QStringList fileNames; QString selection; - foreach(selection,selected) + foreach(selection, selected) { fileNames << RemoveUnacceptedFiles(GetFilesRecursively(selection)); } diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 062035ce7..4b55c58c3 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -26,7 +26,7 @@ ResultsTree::ResultsTree(QSettings &settings) : { setModel(&mModel); QStringList labels; - labels << tr("severity")<