From: Kevin Ottens Date: Tue, 20 Oct 2020 14:36:10 +0000 (+0200) Subject: Mention the folder we listed in the debug logs X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~99^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cbc40b5a15581a09553632e4380130c306c23744;p=nextcloud-desktop.git Mention the folder we listed in the debug logs Signed-off-by: Kevin Ottens --- diff --git a/src/libsync/clientsideencryption.cpp b/src/libsync/clientsideencryption.cpp index b19669552..13f3b7915 100644 --- a/src/libsync/clientsideencryption.cpp +++ b/src/libsync/clientsideencryption.cpp @@ -1263,13 +1263,14 @@ void ClientSideEncryption::folderEncryptedStatusFetched(const QHashfolder() << result; + // FIXME: Can be replaced by _folder2encryptedStatus.insert(result); once we depend on Qt 5.15 for (auto it = result.constKeyValueBegin(); it != result.constKeyValueEnd(); ++it) { _folder2encryptedStatus.insert((*it).first, (*it).second); } _refreshingEncryptionStatus = false; - qCDebug(lcCse) << "Retrieved correctly the encrypted status of the folders." << result; emit folderEncryptedStatusFetchDone(_folder2encryptedStatus); } @@ -1278,10 +1279,11 @@ void ClientSideEncryption::folderEncryptedStatusError(int error) auto job = static_cast(sender()); Q_ASSERT(job); + qCDebug(lcCse) << "Failed to retrieve the status of the folders for" << job->folder() << error; + _folderStatusJobs.removeAll(job); _refreshingEncryptionStatus = false; - qCDebug(lcCse) << "Failed to retrieve the status of the folders." << error; emit folderEncryptedStatusFetchDone(_folder2encryptedStatus); }