mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 08:55:43 +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:
|
public:
|
||||||
//! FSD Server
|
//! FSD Server
|
||||||
const BlackMisc::Network::CServer &swiftFSDTestServer() const { return m_fsdSwiftServer; }
|
const BlackMisc::Network::CServer &swiftFsdTestServer() const { return m_fsdSwiftServer; }
|
||||||
|
|
||||||
//! Singleton
|
//! Singleton
|
||||||
static const CGlobalNetworkSettings &instance();
|
static const CGlobalNetworkSettings &instance();
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ namespace BlackGui
|
|||||||
// add a testserver when no servers can be loaded
|
// add a testserver when no servers can be loaded
|
||||||
if (otherServers.isEmpty() && CProject::isDebugBuild())
|
if (otherServers.isEmpty() && CProject::isDebugBuild())
|
||||||
{
|
{
|
||||||
otherServers.push_back(CGlobalNetworkSettings::instance().swiftFSDTestServer());
|
otherServers.push_back(CGlobalNetworkSettings::instance().swiftFsdTestServer());
|
||||||
}
|
}
|
||||||
this->ui->cbp_OtherServers->setServers(otherServers);
|
this->ui->cbp_OtherServers->setServers(otherServers);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
|
|
||||||
using namespace BlackCore;
|
using namespace BlackCore;
|
||||||
using namespace BlackCore::Settings;
|
using namespace BlackCore::Settings;
|
||||||
using namespace BlackMisc;
|
|
||||||
using namespace BlackGui;
|
using namespace BlackGui;
|
||||||
|
using namespace BlackMisc;
|
||||||
using namespace BlackMisc::Network;
|
using namespace BlackMisc::Network;
|
||||||
using namespace BlackMisc::Aviation;
|
using namespace BlackMisc::Aviation;
|
||||||
using namespace BlackMisc::Audio;
|
using namespace BlackMisc::Audio;
|
||||||
@@ -54,7 +54,7 @@ namespace BlackGui
|
|||||||
// this is debug/bootstrap feature we can continue to test when something goes wrong
|
// this is debug/bootstrap feature we can continue to test when something goes wrong
|
||||||
if (serverList.isEmpty() && CProject::isDebugBuild())
|
if (serverList.isEmpty() && CProject::isDebugBuild())
|
||||||
{
|
{
|
||||||
serverList.push_back(CGlobalNetworkSettings::instance().swiftFSDTestServer());
|
serverList.push_back(CGlobalNetworkSettings::instance().swiftFsdTestServer());
|
||||||
}
|
}
|
||||||
this->ui->tvp_SettingsTnServers->updateContainer(serverList);
|
this->ui->tvp_SettingsTnServers->updateContainer(serverList);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user