mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Modernise Obj-C property notation in fileproviderdomainmanager
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
c593bd8a50
commit
85b9e7df03
1 changed files with 11 additions and 11 deletions
|
@ -90,8 +90,8 @@ class FileProviderDomainManager::Private {
|
|||
[NSFileProviderManager addDomain:fileProviderDomain completionHandler:^(NSError * const error) {
|
||||
if(error) {
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Error adding file provider domain: "
|
||||
<< [error code]
|
||||
<< [error localizedDescription];
|
||||
<< error.code
|
||||
<< error.localizedDescription;
|
||||
}
|
||||
}];
|
||||
|
||||
|
@ -113,8 +113,8 @@ class FileProviderDomainManager::Private {
|
|||
[NSFileProviderManager removeDomain:fileProviderDomain completionHandler:^(NSError *error) {
|
||||
if(error) {
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Error removing file provider domain: "
|
||||
<< [error code]
|
||||
<< [error localizedDescription];
|
||||
<< error.code
|
||||
<< error.localizedDescription;
|
||||
}
|
||||
}];
|
||||
|
||||
|
@ -129,8 +129,8 @@ class FileProviderDomainManager::Private {
|
|||
[NSFileProviderManager removeAllDomainsWithCompletionHandler:^(NSError * const error) {
|
||||
if(error) {
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Error removing all file provider domains: "
|
||||
<< [error code]
|
||||
<< [error localizedDescription];
|
||||
<< error.code
|
||||
<< error.localizedDescription;
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
@ -142,8 +142,8 @@ class FileProviderDomainManager::Private {
|
|||
[NSFileProviderManager getDomainsWithCompletionHandler:^(NSArray<NSFileProviderDomain *> * const domains, NSError * const error) {
|
||||
if (error) {
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Error removing and wiping file provider domains: "
|
||||
<< [error code]
|
||||
<< [error localizedDescription];
|
||||
<< error.code
|
||||
<< error.localizedDescription;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -153,9 +153,9 @@ class FileProviderDomainManager::Private {
|
|||
|
||||
if (error) {
|
||||
qCDebug(lcMacFileProviderDomainManager) << "Error removing and wiping file provider domain: "
|
||||
<< [domain displayName]
|
||||
<< [error code]
|
||||
<< [error localizedDescription];
|
||||
<< domain.displayName
|
||||
<< error.code
|
||||
<< error.localizedDescription;
|
||||
return;
|
||||
}
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue