aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan/rgscandialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/rgscan/rgscandialog.cpp')
-rw-r--r--src/plugins/General/rgscan/rgscandialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/General/rgscan/rgscandialog.cpp b/src/plugins/General/rgscan/rgscandialog.cpp
index 383bc687e..79e213a20 100644
--- a/src/plugins/General/rgscan/rgscandialog.cpp
+++ b/src/plugins/General/rgscan/rgscandialog.cpp
@@ -141,7 +141,9 @@ void RGScanDialog::stop()
if(m_scaners.isEmpty())
return;
foreach (RGScaner *scaner, m_scaners)
+ {
scaner->stop();
+ }
QThreadPool::globalInstance()->waitForDone();
qDeleteAll(m_scaners);
m_scaners.clear();