mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
This commit is contained in:
@@ -203,8 +203,7 @@ namespace BlackCore
|
||||
{
|
||||
// ever used with XPlane
|
||||
const QString pluginDir = CXPlaneUtil::pluginDirFromRootDir(m_simulatorSettings.getSimulatorDirectoryOrDefault(CSimulatorInfo::XPLANE));
|
||||
const QDir dir(pluginDir);
|
||||
if (dir.exists())
|
||||
if (CDirectoryUtils::isDirExisting(pluginDir))
|
||||
{
|
||||
// only check if we are on a XP machine
|
||||
const QStringList conflicts = CXPlaneUtil::findConflictingPlugins(pluginDir);
|
||||
|
||||
Reference in New Issue
Block a user