refs #205, renamed to CNetworkUtils as more methods for IP-addresses are introduced, added CNetworkUtils::getKnownIpAddresses()

This commit is contained in:
Klaus Basan
2014-04-12 02:48:53 +02:00
parent 6580ec48d5
commit e70894dd59
4 changed files with 52 additions and 33 deletions

View File

@@ -11,7 +11,7 @@
#include "vatsimbookingreader.h"
#include "vatsimdatafilereader.h"
#include "blackmisc/networkchecks.h"
#include "blackmisc/networkutils.h"
#include "blackmisc/avatcstationlist.h"
#include <QtXml/QDomElement>
@@ -128,7 +128,7 @@ namespace BlackCore
else
{
QString msg;
if (CNetworkChecks::canConnect(currentServer, msg, 2000))
if (CNetworkUtils::canConnect(currentServer, msg, 2000))
{
INetwork::LoginMode mode = static_cast<INetwork::LoginMode>(loginMode);
this->m_ownAircraft.setPilot(currentServer.getUser()); // still needed?