mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Use consistent account ID type in fileproviderdomainmanager
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
79d89c21c7
commit
0a258f818b
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ class FileProviderDomainManager::Private {
|
|||
|
||||
void removeFileProviderDomain(const AccountState *accountState)
|
||||
{
|
||||
const QString accountId = accountState->account()->id();
|
||||
const QString accountId = accountState->account()->userIdAtHostWithPort();
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Removing file provider domain for account with id: " << accountId;
|
||||
|
||||
if(!_registeredDomains.contains(accountId)) {
|
||||
|
@ -162,7 +162,7 @@ class FileProviderDomainManager::Private {
|
|||
|
||||
void signalEnumeratorChanged(const Account * const account)
|
||||
{
|
||||
const auto accountId = account->id();
|
||||
const auto accountId = account->userIdAtHostWithPort();
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Signalling enumerator changed in file provider domain for account with id: " << accountId;
|
||||
|
||||
if(!_registeredDomains.contains(accountId)) {
|
||||
|
|
Loading…
Reference in a new issue