[Pkg-owncloud-commits] [owncloud-client] 58/484: SelectiveSync: Don't adjust removed path
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:12 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 7fe03c715d27ce0aeb6ef83d529ca8e610e3c778
Author: Christian Kamm <mail at ckamm.de>
Date: Tue Oct 13 12:37:27 2015 +0200
SelectiveSync: Don't adjust removed path
---
src/gui/folderstatusmodel.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index f25f4bd..db8b67f 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -516,8 +516,9 @@ void FolderStatusModel::slotUpdateDirectories(const QStringList &list_)
it.next();
if (parentInfo->_folder->isFileExcluded(it.value())) {
it.remove();
+ } else {
+ it.value().remove(pathToRemove);
}
- it.value().remove(pathToRemove);
}
beginInsertRows(idx, 0, list.count() - 1);
--
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