mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
refs #199 , init removed
cross context wiring should be done in the runtime class.
This commit is contained in:
@@ -44,12 +44,6 @@ namespace BlackCore
|
|||||||
this->leaveAllVoiceRooms();
|
this->leaveAllVoiceRooms();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CContextAudio::init()
|
|
||||||
{
|
|
||||||
m_contextSettings = getRuntime()->getIContextSettings();
|
|
||||||
connect(m_contextSettings, &IContextSettings::changedSettings, this, &CContextAudio::settingsChanged);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Own aircraft
|
* Own aircraft
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -34,10 +34,6 @@ namespace BlackCore
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//! \brief Initialize voice context
|
|
||||||
void init();
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//! \copydoc IContextAudio::setOwnAircraft()
|
//! \copydoc IContextAudio::setOwnAircraft()
|
||||||
virtual void setOwnAircraft(const BlackMisc::Aviation::CAircraft &ownAircraft) override;
|
virtual void setOwnAircraft(const BlackMisc::Aviation::CAircraft &ownAircraft) override;
|
||||||
|
|||||||
Reference in New Issue
Block a user