[Pkg-owncloud-commits] [owncloud-client] 53/103: Also list folder for which the alias starts with '.'

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Apr 30 18:08:58 UTC 2014


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 46d6191bc2991a2659cc2e7c8092a52047c932c3
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Apr 22 14:26:08 2014 +0200

    Also list folder for which the alias starts with '.'
    
    Fixes #1695
---
 src/mirall/folderman.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp
index fa9ba13..fc7d042 100644
--- a/src/mirall/folderman.cpp
+++ b/src/mirall/folderman.cpp
@@ -143,7 +143,8 @@ int FolderMan::setupFolders()
   unloadAllFolders();
 
   QDir dir( _folderConfigPath );
-  dir.setFilter(QDir::Files);
+  //We need to include hidden files just in case the alias starts with '.'
+  dir.setFilter(QDir::Files | QDir::Hidden);
   QStringList list = dir.entryList();
 
   foreach ( const QString& alias, list ) {

-- 
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