[Pkg-owncloud-commits] [owncloud-client] 41/218: Tray notification: Don't show a message about modified folder #3613

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 17 14:30:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit db8f9586cbbd639e1ba1e88a78cb1fc84916a232
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Sep 1 11:29:37 2015 +0200

    Tray notification: Don't show a message about modified folder #3613
---
 src/gui/folder.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 5b0f4b0..ea9056d 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();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list