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
@ -286,6 +286,7 @@ void uploadDiveLogsDE::uploadFinished()
|
||||
}
|
||||
err = tr("Upload successful");
|
||||
emit uploadFinish(true, err);
|
||||
timeout.stop();
|
||||
return;
|
||||
}
|
||||
err = tr("Login failed");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user