Renamed FSD server function

This commit is contained in:
Klaus Basan
2015-09-26 00:30:07 +02:00
committed by Mathew Sutcliffe
parent b2d38d24e6
commit c84bc457df
3 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ namespace BlackCore
public:
//! FSD Server
const BlackMisc::Network::CServer &swiftFSDTestServer() const { return m_fsdSwiftServer; }
const BlackMisc::Network::CServer &swiftFsdTestServer() const { return m_fsdSwiftServer; }
//! Singleton
static const CGlobalNetworkSettings &instance();

View File

@@ -147,7 +147,7 @@ namespace BlackGui
// add a testserver when no servers can be loaded
if (otherServers.isEmpty() && CProject::isDebugBuild())
{
otherServers.push_back(CGlobalNetworkSettings::instance().swiftFSDTestServer());
otherServers.push_back(CGlobalNetworkSettings::instance().swiftFsdTestServer());
}
this->ui->cbp_OtherServers->setServers(otherServers);
}

View File

@@ -19,8 +19,8 @@
using namespace BlackCore;
using namespace BlackCore::Settings;
using namespace BlackMisc;
using namespace BlackGui;
using namespace BlackMisc;
using namespace BlackMisc::Network;
using namespace BlackMisc::Aviation;
using namespace BlackMisc::Audio;
@@ -54,7 +54,7 @@ namespace BlackGui
// this is debug/bootstrap feature we can continue to test when something goes wrong
if (serverList.isEmpty() && CProject::isDebugBuild())
{
serverList.push_back(CGlobalNetworkSettings::instance().swiftFSDTestServer());
serverList.push_back(CGlobalNetworkSettings::instance().swiftFsdTestServer());
}
this->ui->tvp_SettingsTnServers->updateContainer(serverList);
}