mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #242, changed different classes/components to use aircraft context instead of network context
* removed own aircraft from simulator context * in GUI, also added originator for signals/ slots * flightplan / text messages
This commit is contained in:
@@ -252,7 +252,7 @@ void MainWindow::sendCockpitUpdates()
|
||||
this->m_ownAircraft.getCom2System() != com2 ||
|
||||
this->m_ownAircraft.getTransponder() != transponder)
|
||||
{
|
||||
this->getIContextNetwork()->updateOwnCockpit(com1, com2, transponder);
|
||||
this->getIContextOwnAircraft()->updateOwnCockpit(com1, com2, transponder, MainWindow::ownAircraftContextOriginator());
|
||||
this->reloadOwnAircraft(); // also loads resolved voice rooms
|
||||
changedCockpit = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user