From: Olivier Goffart Date: Tue, 1 Sep 2015 09:29:37 +0000 (+0200) Subject: Tray notification: Don't show a message about modified folder #3613 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1408^2~141 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db8f9586cbbd639e1ba1e88a78cb1fc84916a232;p=nextcloud-desktop.git Tray notification: Don't show a message about modified folder #3613 --- diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index 5b0f4b0c8..ea9056df1 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -441,9 +441,11 @@ void Folder::bubbleUpSyncResult() break; case CSYNC_INSTRUCTION_CONFLICT: case CSYNC_INSTRUCTION_SYNC: - updatedItems++; - if (!firstItemUpdated) - firstItemUpdated = item; + if (!item->_isDirectory) { + updatedItems++; + if (!firstItemUpdated) + firstItemUpdated = item; + } break; case CSYNC_INSTRUCTION_ERROR: qDebug() << "Got Instruction ERROR. " << _syncResult.errorString();