Ref T668, minor style changes and improvemments

This commit is contained in:
Klaus Basan
2019-05-16 14:34:27 +02:00
parent 01ba89ce0e
commit da8e504d67
9 changed files with 45 additions and 26 deletions

View File

@@ -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())

View File

@@ -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)