mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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");
|
err = tr("Upload successful");
|
||||||
emit uploadFinish(true, err);
|
emit uploadFinish(true, err);
|
||||||
|
timeout.stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
err = tr("Login failed");
|
err = tr("Login failed");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue