[Pkg-owncloud-commits] [owncloud-client] 326/498: FolderMan: Set ignore hidden files in the folder watcher.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:03 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 7195e40ffa0d4a6f4e1fb64f447c6375a0d72fe5
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Jul 14 16:58:06 2015 +0200
FolderMan: Set ignore hidden files in the folder watcher.
The flag is read from the folder configuration and passed on to
the folder watcher so that it ignores events to hidden files
accordingly.
---
src/gui/folderman.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index 546d00d..765a877 100644
--- a/src/gui/folderman.cpp
+++ b/src/gui/folderman.cpp
@@ -151,6 +151,7 @@ void FolderMan::registerFolderMonitor( Folder *folder )
ConfigFile cfg;
fw->addIgnoreListFile( cfg.excludeFile(ConfigFile::SystemScope) );
fw->addIgnoreListFile( cfg.excludeFile(ConfigFile::UserScope) );
+ fw->setIgnoreHidden( folder->ignoreHiddenFiles() );
// Connect the pathChanged signal, which comes with the changed path,
// to the signal mapper which maps to the folder alias. The changed path
--
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