mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
1d74eb509f
commit
976b2fc2a7
1 changed files with 1 additions and 0 deletions
|
@ -286,6 +286,7 @@ void uploadDiveLogsDE::uploadFinished()
|
|||
}
|
||||
err = tr("Upload successful");
|
||||
emit uploadFinish(true, err);
|
||||
timeout.stop();
|
||||
return;
|
||||
}
|
||||
err = tr("Login failed");
|
||||
|
|
Loading…
Reference in a new issue