mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Issue #77 Break cyclic dependency between CDirectoryUtils and CNetworkUtils by factoring out canPing method
This commit is contained in:
@@ -1662,7 +1662,7 @@ namespace BlackMisc
|
||||
|
||||
for (const QString &m : uncMachines)
|
||||
{
|
||||
const bool ping = CNetworkUtils::canPing(m);
|
||||
const bool ping = canPing(m);
|
||||
if (!ping)
|
||||
{
|
||||
msgs.push_back(CStatusMessage(this).validationError(u"Cannot ping UNC machine(s): %1. UNC files: %2") << m << uncFiles.size());
|
||||
|
||||
Reference in New Issue
Block a user