refs #911, support for Windows UNC paths in parser

This commit is contained in:
Klaus Basan
2017-03-22 03:10:41 +01:00
committed by Mathew Sutcliffe
parent b0fe4ce930
commit 6d97f477c9
3 changed files with 16 additions and 2 deletions

View File

@@ -126,6 +126,10 @@ namespace BlackMisc
//! Error message explaining why a QLockFile failed to lock.
static QString lockFileError(const QLockFile &lockFile);
//! UNC file paths on Qt start with "/", but UNC file paths only work when they start with "//"
//! \remark On Windows starting with "/" means an UNC path, on UNIX it varies, see http://unix.stackexchange.com/a/12291/19428
static QString fixWindowsUncPath(const QString &filePath);
};
} // ns