From a542b25bde597b7bfe189f14a6868f711f879516 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 20 May 2013 17:02:17 -0300 Subject: 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 --- qt-ui/downloadfromdivecomputer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/downloadfromdivecomputer.h') 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 -- cgit v1.2.3-70-g09d2