mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T668, minor style changes and improvemments
This commit is contained in:
@@ -93,7 +93,7 @@ namespace BlackCore
|
||||
connect(m_network, &INetwork::connectionStatusChanged, this, &CAirspaceMonitor::onConnectionStatusChanged);
|
||||
|
||||
// AutoConnection: this should also avoid race conditions by updating the bookings
|
||||
Q_ASSERT_X(sApp->getWebDataServices(), Q_FUNC_INFO, "Missing data reader");
|
||||
Q_ASSERT_X(sApp && sApp->getWebDataServices(), Q_FUNC_INFO, "Missing data reader");
|
||||
|
||||
// optional readers
|
||||
if (sApp->getWebDataServices()->getBookingReader())
|
||||
|
||||
@@ -59,6 +59,7 @@ namespace BlackCore
|
||||
public BlackMisc::Simulation::CSimulationEnvironmentAware, // elevation info etc. from simulator
|
||||
public BlackMisc::Network::CClientProvider // those data will be provided from the class CAirspaceMonitor
|
||||
{
|
||||
// CRemoteAircraftProvider is QObject
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(BlackMisc::Network::IClientProvider)
|
||||
Q_INTERFACES(BlackMisc::Simulation::IRemoteAircraftProvider)
|
||||
|
||||
Reference in New Issue
Block a user