diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-08 23:13:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-11 12:36:43 -0500 |
commit | 976b2fc2a76e040064e090866c20e3923f362f1a (patch) | |
tree | 5e03bf6f5fe35ddc27ff8714d42dacded8e224de /core | |
parent | 1d74eb509f1253ac50bd2451123f63d8c313cb0b (diff) | |
download | subsurface-976b2fc2a76e040064e090866c20e3923f362f1a.tar.gz |
core: add timeout.stop() if upload successful
Stop timeout not only in case of errors, but also in
positive case.
Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/uploadDiveLogsDE.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/uploadDiveLogsDE.cpp b/core/uploadDiveLogsDE.cpp index 2431e17f4..a72633ef6 100644 --- a/core/uploadDiveLogsDE.cpp +++ b/core/uploadDiveLogsDE.cpp @@ -286,6 +286,7 @@ void uploadDiveLogsDE::uploadFinished() } err = tr("Upload successful"); emit uploadFinish(true, err); + timeout.stop(); return; } err = tr("Login failed"); |