diff --git a/src/gui/macOS/fileproviderdomainmanager_mac.mm b/src/gui/macOS/fileproviderdomainmanager_mac.mm index 2f421ebd9..c6684a3a3 100644 --- a/src/gui/macOS/fileproviderdomainmanager_mac.mm +++ b/src/gui/macOS/fileproviderdomainmanager_mac.mm @@ -228,7 +228,7 @@ FileProviderDomainManager::FileProviderDomainManager(QObject * const parent) connect(AccountManager::instance(), &AccountManager::accountAdded, this, &FileProviderDomainManager::addFileProviderDomainForAccount); - connect(AccountManager::instance(), &AccountManager::accountRemoved, + connect(AccountManager::instance(), &AccountManager::accountSyncConnectionRemoved, this, &FileProviderDomainManager::removeFileProviderDomainForAccount); }