mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fixed 2 bugs only obvious when running with Core/DBus
* init of m_enabled in modulator missing, crashed DBus marshalling * Need to check boundaries of voice rooms in GUI for empty list
This commit is contained in:
@@ -37,7 +37,7 @@ namespace BlackMisc
|
||||
* \brief Default constructor
|
||||
*/
|
||||
CModulator() :
|
||||
CAvionicsBase("default"), m_volumeInput(0), m_volumeOutput(0), m_digits(2) {}
|
||||
CAvionicsBase("default"), m_volumeInput(0), m_volumeOutput(0), m_enabled(true), m_digits(2) {}
|
||||
|
||||
/*!
|
||||
* \brief Constructor
|
||||
@@ -47,7 +47,7 @@ namespace BlackMisc
|
||||
* \param digits
|
||||
*/
|
||||
CModulator(const QString &name, const BlackMisc::PhysicalQuantities::CFrequency &activeFrequency, const BlackMisc::PhysicalQuantities::CFrequency &standbyFrequency, int digits) :
|
||||
CAvionicsBase(name), m_frequencyActive(activeFrequency), m_frequencyStandby(standbyFrequency), m_volumeInput(0), m_volumeOutput(0), m_digits(digits), m_enabled(true) {}
|
||||
CAvionicsBase(name), m_frequencyActive(activeFrequency), m_frequencyStandby(standbyFrequency), m_volumeInput(0), m_volumeOutput(0), m_enabled(true), m_digits(digits) {}
|
||||
|
||||
/*!
|
||||
* \brief String for converter
|
||||
|
||||
Reference in New Issue
Block a user