From 6e536b9e3537e979f6f5b6e90b8c8c3a0ffa863a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 21 Aug 2013 22:53:46 +0200 Subject: [PATCH] astyle formatting --- gui/mainwindow.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index af0aa59ac..f4d615182 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -416,12 +416,12 @@ QStringList MainWindow::SelectFilesToCheck(QFileDialog::FileMode mode) } FormatAndSetTitle(); } else if (mode == QFileDialog::DirectoryOnly) { - QFileDialog dialog; - dialog.setFileMode(mode); - dialog.setWindowTitle("Select directory"); - QStringList dirs; - if (dialog.exec()) - dirs = dialog.selectedFiles(); + QFileDialog dialog; + dialog.setFileMode(mode); + dialog.setWindowTitle("Select directory"); + QStringList dirs; + if (dialog.exec()) + dirs = dialog.selectedFiles(); if (!dirs.isEmpty()) { QString dir = dirs[0]; qDebug() << "Setting current directory to: " << dirs[0];