mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #369, gcc fixes
This commit is contained in:
@@ -241,6 +241,7 @@ namespace BlackCore
|
||||
Q_ASSERT(c);
|
||||
c = connect(networkContext, &IContextNetwork::changedAircraftEnabled, this->m_simulator, &ISimulator::changeAircraftEnabled);
|
||||
Q_ASSERT(c);
|
||||
Q_UNUSED(c);
|
||||
|
||||
for (const CSimulatedAircraft &simAircraft : networkContext->getAircraftInRange())
|
||||
{
|
||||
@@ -296,6 +297,7 @@ namespace BlackCore
|
||||
IContextNetwork *networkContext = this->getIContextNetwork();
|
||||
Q_ASSERT(networkContext);
|
||||
Q_ASSERT(networkContext->isLocalObject());
|
||||
Q_UNUSED(networkContext);
|
||||
this->m_simulator->disconnect(); // disconnect all simulator signals
|
||||
QObject::disconnect(this, nullptr, this->m_simulator, nullptr); // disconnect receiver simulator
|
||||
this->m_simulator->disconnectFrom(); // disconnect from simulator
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace BlackCore
|
||||
|
||||
CAircraftModelList CContextSimulatorProxy::getInstalledModelsStartingWith(const QString modelString) const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CAircraftModelList>(QLatin1Literal("getInstalledModelsStartingWith"));
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CAircraftModelList>(QLatin1Literal("getInstalledModelsStartingWith"), modelString);
|
||||
}
|
||||
|
||||
CAircraftIcao CContextSimulatorProxy::getIcaoForModelString(const QString &modelString) const
|
||||
|
||||
Reference in New Issue
Block a user