refs #297 Added new network settings.

This commit is contained in:
Mathew Sutcliffe
2015-06-30 20:58:22 +01:00
parent d971b073b7
commit bacf771a15
12 changed files with 98 additions and 26 deletions

View File

@@ -141,7 +141,7 @@ namespace BlackGui
ps_validateAircraftValues();
ps_validateVatsimValues();
ps_onVatsimDataFileLoaded();
CServerList otherServers = this->getIContextSettings()->getNetworkSettings().getTrafficNetworkServers();
CServerList otherServers = this->m_trafficNetworkServers.get();
this->ui->cbp_OtherServers->setServers(otherServers);
}
@@ -447,7 +447,7 @@ namespace BlackGui
void CLoginComponent::ps_onSettingsChanged(uint settingsType)
{
if (settingsType != static_cast<uint>(IContextSettings::SettingsNetwork)) { return; }
CServerList otherServers = this->getIContextSettings()->getNetworkSettings().getTrafficNetworkServers();
CServerList otherServers = this->m_trafficNetworkServers.get();
this->ui->cbp_OtherServers->setServers(otherServers);
}