Avoid long "hanging" if Windows UNC path is not reachable

Use own "isDirExisting" function checking UNC paths
This commit is contained in:
Klaus Basan
2018-03-08 18:48:14 +01:00
parent 32196f5e8e
commit 42ef7c5633
8 changed files with 120 additions and 13 deletions

View File

@@ -147,6 +147,15 @@ namespace BlackMisc
//! Fix UNC file paths
static QStringList fixWindowsUncPaths(const QStringList &filePaths);
//! Windows UNC path?
static bool isWindowsUncPath(const QString &filePath);
//! Machine in Windows UNC path
static QString windowsUncMachine(const QString &filePath);
//! Can connect the UNC machine
static bool canPingUncMachine(const QString &machine);
//! To Windows path using "\" delimiter
static QString toWindowsLocalPath(const QString &path);