mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
ChangedModel in ownAircraft context was not really used.
However, there are cases where the "own model" is changed via own model context, mostly in the emulated driver. * made changedModel -> ps_changedModel a "private" signal * connected it to simulator context * used identifier to avoid roundtrips So the "ownAircraftModelChanged" signal of the simulator context is to be used
This commit is contained in:
committed by
Mat Sutcliffe
parent
d12f164d26
commit
73e566a76e
@@ -51,9 +51,6 @@ namespace BlackCore
|
||||
s = connection.connect(serviceName, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName(),
|
||||
"changedPilot", this, SIGNAL(changedPilot(BlackMisc::Network::CUser)));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName(),
|
||||
"changedModel", this, SIGNAL(changedModel(BlackMisc::Simulation::CAircraftModel)));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName(),
|
||||
"movedAircraft", this, SIGNAL(movedAircraft()));
|
||||
Q_ASSERT(s);
|
||||
|
||||
Reference in New Issue
Block a user