mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Renamed FSD server function
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b2d38d24e6
commit
c84bc457df
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user