Skip to content
Snippets Groups Projects
Commit c84bab0b authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Refs #20836 Fix formatting

parent b75b08f1
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/regex.hpp> #include <boost/regex.hpp>
using namespace Mantid::Kernel; using namespace Mantid::Kernel;
using namespace Mantid::API; using namespace Mantid::API;
using namespace MantidQt::API; using namespace MantidQt::API;
...@@ -709,14 +708,14 @@ void MWRunFiles::findFiles() { ...@@ -709,14 +708,14 @@ void MWRunFiles::findFiles() {
QTimer timer; QTimer timer;
connect(&timer, SIGNAL(timeout()), &eventLoop, SLOT(quit())); connect(&timer, SIGNAL(timeout()), &eventLoop, SLOT(quit()));
if (m_thread->isRunning()) { if (m_thread->isRunning()) {
// Quit the thread // Quit the thread
m_thread->exit(-1); m_thread->exit(-1);
// While the thread is quiting keep the application responsive // While the thread is quiting keep the application responsive
while (m_thread->isRunning()) { while (m_thread->isRunning()) {
timer.start(50); timer.start(50);
eventLoop.exec(); eventLoop.exec();
timer.stop(); timer.stop();
} }
} }
emit findingFiles(); emit findingFiles();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment