From c84bab0bffda1ca6de49996ae8dd460908aff613 Mon Sep 17 00:00:00 2001
From: Anton Piccardo-Selg <anton.piccardo-selg@tessella.com>
Date: Fri, 6 Oct 2017 12:27:46 +0100
Subject: [PATCH] Refs #20836 Fix formatting

---
 qt/widgets/common/src/MWRunFiles.cpp | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/qt/widgets/common/src/MWRunFiles.cpp b/qt/widgets/common/src/MWRunFiles.cpp
index 15db8c8dc36..e1eb4062c3f 100644
--- a/qt/widgets/common/src/MWRunFiles.cpp
+++ b/qt/widgets/common/src/MWRunFiles.cpp
@@ -25,7 +25,6 @@
 #include <boost/algorithm/string.hpp>
 #include <boost/regex.hpp>
 
-
 using namespace Mantid::Kernel;
 using namespace Mantid::API;
 using namespace MantidQt::API;
@@ -709,14 +708,14 @@ void MWRunFiles::findFiles() {
     QTimer timer;
     connect(&timer, SIGNAL(timeout()), &eventLoop, SLOT(quit()));
     if (m_thread->isRunning()) {
-        // Quit the thread
-        m_thread->exit(-1);
-        // While the thread is quiting keep the application responsive
-        while (m_thread->isRunning()) {
-          timer.start(50);
-          eventLoop.exec();
-          timer.stop();
-        }
+      // Quit the thread
+      m_thread->exit(-1);
+      // While the thread is quiting keep the application responsive
+      while (m_thread->isRunning()) {
+        timer.start(50);
+        eventLoop.exec();
+        timer.stop();
+      }
     }
 
     emit findingFiles();
-- 
GitLab