mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Fix parameter name shadowing in fraction completed methods of domain sync status
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
6d9c44526d
commit
78732bfeb0
1 changed files with 6 additions and 6 deletions
|
@ -152,24 +152,24 @@ void FileProviderDomainSyncStatus::setUploading(const bool uploading)
|
|||
emit syncingChanged(syncing());
|
||||
}
|
||||
|
||||
void FileProviderDomainSyncStatus::setDownloadFractionCompleted(const double fractionCompleted)
|
||||
void FileProviderDomainSyncStatus::setDownloadFractionCompleted(const double downloadFractionCompleted)
|
||||
{
|
||||
if (_downloadFractionCompleted == fractionCompleted) {
|
||||
if (_downloadFractionCompleted == downloadFractionCompleted) {
|
||||
return;
|
||||
}
|
||||
|
||||
_downloadFractionCompleted = fractionCompleted;
|
||||
_downloadFractionCompleted = downloadFractionCompleted;
|
||||
emit downloadFractionCompletedChanged(_downloadFractionCompleted);
|
||||
emit fractionCompletedChanged(fractionCompleted());
|
||||
}
|
||||
|
||||
void FileProviderDomainSyncStatus::setUploadFractionCompleted(const double fractionCompleted)
|
||||
void FileProviderDomainSyncStatus::setUploadFractionCompleted(const double uploadFractionCompleted)
|
||||
{
|
||||
if (_uploadFractionCompleted == fractionCompleted) {
|
||||
if (_uploadFractionCompleted == uploadFractionCompleted) {
|
||||
return;
|
||||
}
|
||||
|
||||
_uploadFractionCompleted = fractionCompleted;
|
||||
_uploadFractionCompleted = uploadFractionCompleted;
|
||||
emit uploadFractionCompletedChanged(_uploadFractionCompleted);
|
||||
emit fractionCompletedChanged(fractionCompleted());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue