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>
This commit is contained in:
Tomaz Canabrava 2013-05-20 17:02:17 -03:00
parent c7a5d0490f
commit a542b25bde
4 changed files with 24 additions and 13 deletions

View file

@ -40,7 +40,7 @@ public slots:
private:
Ui::DownloadFromDiveComputer *ui;
InterfaceThread *thread;
bool downloading;
};
#endif