diff options
| author | Tannin <sherb@gmx.net> | 2015-12-18 20:32:29 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2015-12-18 20:32:29 +0100 |
| commit | 502e950cde5920e4184775c47621cb737696f512 (patch) | |
| tree | d745aa9c184914257db25acb2f62d38ee697f1a2 /src/usvfsconnector.cpp | |
| parent | 4908affbfceee55d09426b7cab94d155d36d0d90 (diff) | |
support for adding directories to the vfs that will act as create target for new files
Diffstat (limited to 'src/usvfsconnector.cpp')
| -rw-r--r-- | src/usvfsconnector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usvfsconnector.cpp b/src/usvfsconnector.cpp index f3a45dfe..380abe01 100644 --- a/src/usvfsconnector.cpp +++ b/src/usvfsconnector.cpp @@ -133,7 +133,7 @@ void UsvfsConnector::updateMapping(const MappingType &mapping) if (map.isDirectory) { VirtualLinkDirectoryStatic(map.source.toStdWString().c_str() , map.destination.toStdWString().c_str() - , 0); + , (map.createTarget ? LINKFLAG_CREATETARGET : 0) | LINKFLAG_RECURSIVE); } else { VirtualLinkFile(map.source.toStdWString().c_str() , map.destination.toStdWString().c_str() |
