mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T272, skip VATSIM readers if (for sure) connected to an other eco system
Remark: This requires the server (=> ecosystem) to be connected, otherwise VATSIM data (before that connection) are still read as default
This commit is contained in:
@@ -1454,7 +1454,9 @@ namespace BlackCore
|
||||
|
||||
void CWebDataServices::onConnectedNetworkServerChanged(const CServer &server)
|
||||
{
|
||||
Q_UNUSED(server);
|
||||
const CEcosystem es(server.getEcosystem());
|
||||
this->setCurrentEcosystem(es);
|
||||
CLogMessage(this).info("Changed data service ecosystem to '%1'") << es.toQString(true);
|
||||
}
|
||||
|
||||
bool CWebDataServices::writeDbDataToDisk(const QString &dir) const
|
||||
|
||||
Reference in New Issue
Block a user