diff options
Diffstat (limited to 'backends/cloud/id/iddownloadrequest.cpp')
| -rw-r--r-- | backends/cloud/id/iddownloadrequest.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/cloud/id/iddownloadrequest.cpp b/backends/cloud/id/iddownloadrequest.cpp index ac62284d46..7166a1e026 100644 --- a/backends/cloud/id/iddownloadrequest.cpp +++ b/backends/cloud/id/iddownloadrequest.cpp @@ -90,7 +90,9 @@ void IdDownloadRequest::finishDownload(bool success) {  double IdDownloadRequest::getProgress() const {  	DownloadRequest *downloadRequest = dynamic_cast<DownloadRequest *>(_workingRequest); -	if (downloadRequest == nullptr) return 0.02; // resolving id still +	if (downloadRequest == nullptr) return 0; // resolving id still + +	// id resolve is 10 % and download is the other 90 %  	return 0.1 + 0.9 * downloadRequest->getProgress(); // downloading  }  | 
