Prevent removal of FileProvider domains on app shutdown

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-03-11 13:51:38 +01:00
parent 57f174d9e3
commit 712dde0a2f
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -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);
}