diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:02:17 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:02:17 -0300 |
commit | a542b25bde597b7bfe189f14a6868f711f879516 (patch) | |
tree | 5ec29dcafb9da0cc5470e5a5889aca29b54008ec /qt-ui/downloadfromdivecomputer.h | |
parent | c7a5d0490fa5f4e8579e6a8e0fbdc7baf7c34145 (diff) | |
download | subsurface-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.h | 2 |
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 |