mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Emit takeoff/touchdown signals in own aircraft context
This commit is contained in:
committed by
Mat Sutcliffe
parent
892b5919f7
commit
a91d7cb852
@@ -54,10 +54,10 @@ namespace BlackCore
|
||||
"movedAircraft", this, SIGNAL(movedAircraft()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName(),
|
||||
"airborne", this, SIGNAL(airborne()));
|
||||
"isTakingOff", this, SIGNAL(isTakingOff()));
|
||||
Q_ASSERT(s);
|
||||
s = connection.connect(serviceName, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName(),
|
||||
"touchdown", this, SIGNAL(touchdown()));
|
||||
"isTouchingDown", this, SIGNAL(isTouchingDown()));
|
||||
Q_ASSERT(s);
|
||||
|
||||
this->relayBaseClassSignals(serviceName, connection, IContextOwnAircraft::ObjectPath(), IContextOwnAircraft::InterfaceName());
|
||||
|
||||
Reference in New Issue
Block a user