diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-12-09 17:42:06 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-12-09 17:42:06 +0200 |
commit | 04b62a46e9f28f0e3b4a4f2e3c3aa9c18445df2f (patch) | |
tree | a2577f727767def53e7cc7b62cff1ef6ff17531f /qt-ui/diveplanner.h | |
parent | e0acad42aa7dcee4fdea940d85c9bfeca20b0c4d (diff) | |
download | subsurface-04b62a46e9f28f0e3b4a4f2e3c3aa9c18445df2f.tar.gz |
Divelogs.de: attempt to impletent 'Cancel' properly
The correct way to stop the upload/download is to use
reply->abort(). If the dialog closes, post exec()
we check if the reply 'isOpen' and abort and delete it.
Without this modification the program seems to crash
as the connection is still in action and it attempts
to read an already deleted file.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/diveplanner.h')
0 files changed, 0 insertions, 0 deletions