From a98aea6efd08840fed7fc2bd2e5d2826eb5e4897 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 25 Mar 2006 10:39:05 +0000 Subject: Add kListAllNoRoot type to listDir() to handle recent file class changes, on file system backends which use _isPseudoRoot svn-id: r21449 --- common/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/file.cpp') diff --git a/common/file.cpp b/common/file.cpp index 90f211ccd4..5a50d24233 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -159,7 +159,7 @@ void File::addDefaultDirectoryRecursive(const String &directory, int level, int baseLen++; } - FSList fslist(dir.listDir(FilesystemNode::kListAll)); + FSList fslist(dir.listDir(FilesystemNode::kListAllNoRoot)); for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { if (file->isDirectory()) { -- cgit v1.2.3