mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Some fixes as follow up of refs #533
* made plugin aware functions protected * set setup for FSX ( refs #547 ) and made setup protected * removed CLogHandler::instance()->disconnect(); as discussed in slack * some formatting
This commit is contained in:
@@ -33,7 +33,7 @@ namespace BlackCore
|
||||
CPluginStorageAware(pluginStorageProvider),
|
||||
m_simulatorPluginInfo(info)
|
||||
{
|
||||
this->setObjectName("Simulator:" + info.getIdentifier());
|
||||
this->setObjectName("Simulator: " + info.getIdentifier());
|
||||
|
||||
// provider signals
|
||||
m_remoteAircraftProviderConnections.append(
|
||||
@@ -222,8 +222,7 @@ namespace BlackCore
|
||||
void CSimulatorCommon::unload()
|
||||
{
|
||||
this->disconnectFrom(); // disconnect from simulator
|
||||
this->m_remoteAircraftProviderConnections.disconnectAll();
|
||||
CLogHandler::instance()->disconnect();
|
||||
this->m_remoteAircraftProviderConnections.disconnectAll(); // disconnect signals from provider
|
||||
}
|
||||
|
||||
CLength CSimulatorCommon::getRenderedDistanceBoundary() const
|
||||
|
||||
Reference in New Issue
Block a user