diff --git a/src/gui/macOS/fileproviderdomainmanager_mac.mm b/src/gui/macOS/fileproviderdomainmanager_mac.mm index 753578af8a65a..ec2926fef42f3 100644 --- a/src/gui/macOS/fileproviderdomainmanager_mac.mm +++ b/src/gui/macOS/fileproviderdomainmanager_mac.mm @@ -418,6 +418,10 @@ QStringList configuredDomainIds() const const auto trReason = tr("%1 application has been closed. Reopen to reconnect.").arg(APPLICATION_NAME); disconnectFileProviderDomainForAccount(accountState, trReason); }); + + connect(FileProviderSettingsController::instance(), &FileProviderSettingsController::vfsEnabledAccountsChanged, + this, &FileProviderDomainManager::updateFileProviderDomains); + } else { qCWarning(lcMacFileProviderDomainManager()) << "Trying to run File Provider on system that does not support it."; }