From 318ace78794b14963fc7a73568369d114518db57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=E4ki?= Date: Sat, 9 Feb 2013 19:36:48 +0100 Subject: [PATCH] astyle formatting --- gui/mainwindow.cpp | 4 ++-- gui/resultstree.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 170acfc45..d58165a0d 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -995,9 +995,9 @@ void MainWindow::NewProjectFile() if (filepath.isEmpty()) return; - + mSettings->setValue(SETTINGS_LAST_USED_PATH, filepath); - + EnableProjectActions(true); QFileInfo inf(filepath); const QString filename = inf.fileName(); diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index d34847e6f..773743e6e 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -689,7 +689,7 @@ QString ResultsTree::AskFileDir(const QString &file) msgbox.setText(text); msgbox.setIcon(QMessageBox::Warning); msgbox.exec(); - + QSettings settings; QString dir = QFileDialog::getExistingDirectory(this, tr("Select Directory"), settings.value(SETTINGS_LAST_USED_PATH, "").toString(),