From: Claudio Cambra Date: Tue, 6 Feb 2024 06:34:35 +0000 (+0800) Subject: Make default of fast enumeration enabled method in file provider settings controller... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~111^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1441a5e3a2e5eeabcf227259044ca472061bdfb5;p=nextcloud-desktop.git Make default of fast enumeration enabled method in file provider settings controller to be true Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/fileprovidersettingscontroller_mac.mm b/src/gui/macOS/fileprovidersettingscontroller_mac.mm index 4a09b7a9f..cd3749df5 100644 --- a/src/gui/macOS/fileprovidersettingscontroller_mac.mm +++ b/src/gui/macOS/fileprovidersettingscontroller_mac.mm @@ -378,12 +378,12 @@ bool FileProviderSettingsController::fastEnumerationEnabledForAccount(const QStr { const auto xpc = FileProvider::instance()->xpc(); if (!xpc) { - return false; + return true; } if (const auto fastEnumerationState = xpc->fastEnumerationStateForExtension(userIdAtHost)) { return fastEnumerationState->first; } - return false; + return true; } void FileProviderSettingsController::setFastEnumerationEnabledForAccount(const QString &userIdAtHost, const bool setEnabled)