summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-20 17:02:17 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-20 17:02:17 -0300
commita542b25bde597b7bfe189f14a6868f711f879516 (patch)
tree5ec29dcafb9da0cc5470e5a5889aca29b54008ec /qt-ui/downloadfromdivecomputer.h
parentc7a5d0490fa5f4e8579e6a8e0fbdc7baf7c34145 (diff)
downloadsubsurface-a542b25bde597b7bfe189f14a6868f711f879516.tar.gz
Added code to cancel the thread.
I think it's self explanatory - When user clicks on 'Cancel', the interface will wait for the trhead to quit then will close itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 433d43779..ef17df8d4 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -40,7 +40,7 @@ public slots:
private:
Ui::DownloadFromDiveComputer *ui;
InterfaceThread *thread;
+ bool downloading;
};
-
#endif \ No newline at end of file