diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-18 00:08:47 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-18 00:08:47 +0100 |
commit | c59f9b95bbed7631038ea028f68f9ce7a82609b0 (patch) | |
tree | 876f27a04c2399a0a7709b30f4d815d8e2022af9 /src | |
parent | a0719a9a3e1c0970c0207fa4beec150613f1a768 (diff) |
Do not add working directory. This creates strange behavior. Files should be searched relative to the documents, not to the working directory.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/filesystem/FileLocator.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/filesystem/FileLocator.cpp b/src/plugins/filesystem/FileLocator.cpp index d2b4bb6..2fd5483 100644 --- a/src/plugins/filesystem/FileLocator.cpp +++ b/src/plugins/filesystem/FileLocator.cpp @@ -116,11 +116,6 @@ void FileLocator::addDefaultSearchPaths() #ifndef NDEBUG addDefaultSearchPaths(SpecialPaths::getDebugDataDir()); #endif - // also add working directory. - addSearchPath(".", {ResourceType::UNKNOWN, ResourceType::DOMAIN_DESC, - ResourceType::TYPESYSTEM, ResourceType::DOCUMENT, - ResourceType::ATTRIBUTES, ResourceType::STYLESHEET, - ResourceType::SCRIPT, ResourceType::DATA}); } void FileLocator::addUnittestSearchPath(const std::string &subdir, |