mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
Server handling
* added tower view as hardcoded * renamed to predefined servers * utility functions to add/remove FSD setup flags
This commit is contained in:
@@ -154,7 +154,7 @@ namespace BlackGui
|
||||
this->validateAircraftValues();
|
||||
ui->form_Pilot->validate();
|
||||
this->onWebServiceDataRead(CEntityFlags::VatsimDataFile, CEntityFlags::ReadFinished, -1);
|
||||
const CServerList otherServers(m_networkSetup.getOtherServersPlusTestServers());
|
||||
const CServerList otherServers(m_networkSetup.getOtherServersPlusPredefinedServers());
|
||||
ui->comp_OtherServers->setServers(otherServers);
|
||||
ui->cb_AutoLogoff->setChecked(m_networkSetup.useAutoLogoff());
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace BlackGui
|
||||
// this is debug/bootstrap feature we can continue to test when something goes wrong
|
||||
if (serverList.isEmpty() && CBuildConfig::isLocalDeveloperDebugBuild())
|
||||
{
|
||||
serverList.push_back(sGui->getGlobalSetup().getFsdTestServersPlusHardcodedServers());
|
||||
serverList.push_back(sGui->getGlobalSetup().getPredefinedServersPlusHardcodedServers());
|
||||
}
|
||||
ui->tvp_Servers->updateContainer(serverList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user