mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #911, support for Windows UNC paths in parser
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b0fe4ce930
commit
6d97f477c9
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user