From 78732bfeb00d8841a1352b355ad2e4fce2dbb0b1 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 10 Jan 2024 02:15:17 +0800 Subject: [PATCH] Fix parameter name shadowing in fraction completed methods of domain sync status Signed-off-by: Claudio Cambra --- src/gui/macOS/fileproviderdomainsyncstatus_mac.mm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/macOS/fileproviderdomainsyncstatus_mac.mm b/src/gui/macOS/fileproviderdomainsyncstatus_mac.mm index 373f19868..c954a7649 100644 --- a/src/gui/macOS/fileproviderdomainsyncstatus_mac.mm +++ b/src/gui/macOS/fileproviderdomainsyncstatus_mac.mm @@ -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()); }