mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
gui/macOS: Do not automatically configure file provider domains for new accounts
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7f2c0d821e
commit
23a90120e2
@ -41,11 +41,13 @@ public:
|
||||
signals:
|
||||
void domainSetupComplete();
|
||||
|
||||
public slots:
|
||||
void addFileProviderDomainForAccount(const OCC::AccountState * const accountState);
|
||||
|
||||
private slots:
|
||||
void setupFileProviderDomains();
|
||||
void updateFileProviderDomains();
|
||||
|
||||
void addFileProviderDomainForAccount(const OCC::AccountState * const accountState);
|
||||
void removeFileProviderDomainForAccount(const OCC::AccountState * const accountState);
|
||||
void disconnectFileProviderDomainForAccount(const OCC::AccountState * const accountState, const QString &reason);
|
||||
void reconnectFileProviderDomainForAccount(const OCC::AccountState * const accountState);
|
||||
|
||||
@ -511,8 +511,6 @@ void FileProviderDomainManager::start()
|
||||
|
||||
setupFileProviderDomains();
|
||||
|
||||
connect(AccountManager::instance(), &AccountManager::accountAdded,
|
||||
this, &FileProviderDomainManager::addFileProviderDomainForAccount);
|
||||
// If an account is deleted from the client, accountSyncConnectionRemoved will be
|
||||
// emitted first. So we treat accountRemoved as only being relevant to client
|
||||
// shutdowns.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user