From: Kevin Ottens Date: Fri, 11 Dec 2020 01:14:07 +0000 (+0100) Subject: Workaround bug in older GCC used for the AppImage toolchain X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af57a702eff39a46fe80925e035ff303a133713c;p=nextcloud-desktop.git Workaround bug in older GCC used for the AppImage toolchain Signed-off-by: Kevin Ottens --- diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 120dc197a..0ac4593d3 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1421,7 +1421,7 @@ DiscoverySingleDirectoryJob *ProcessDirectoryJob::startAsyncServerQuery() if (!serverJob->_dataFingerprint.isEmpty() && _discoveryData->_dataFingerprint.isEmpty()) _discoveryData->_dataFingerprint = serverJob->_dataFingerprint; if (_localQueryDone) - process(); + this->process(); } else { auto code = results.error().code; qCWarning(lcDisco) << "Server error in directory" << _currentFolder._server << code; @@ -1436,7 +1436,7 @@ DiscoverySingleDirectoryJob *ProcessDirectoryJob::startAsyncServerQuery() // Similarly, the server might also return 404 or 50x in case of bugs. #7199 #7586 _dirItem->_instruction = CSYNC_INSTRUCTION_IGNORE; _dirItem->_errorString = results.error().message; - emit finished(); + emit this->finished(); } else { // Fatal for the root job since it has no SyncFileItem, or for the network errors emit _discoveryData->fatalError(tr("Server replied with an error while reading directory '%1' : %2")