1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Use unique window colour for VOR Demod

This commit is contained in:
Jon Beniston 2021-02-26 20:35:58 +00:00
parent bc3419cb66
commit 5da344b24a

View File

@ -34,7 +34,7 @@ void VORDemodSettings::resetToDefaults()
m_squelch = -60.0;
m_volume = 2.0;
m_audioMute = false;
m_rgbColor = QColor(255, 255, 0).rgb();
m_rgbColor = QColor(255, 255, 102).rgb();
m_title = "VOR Demodulator";
m_audioDeviceName = AudioDeviceManager::m_defaultDeviceName;
m_streamIndex = 0;
@ -117,7 +117,7 @@ bool VORDemodSettings::deserialize(const QByteArray& data)
m_channelMarker->deserialize(bytetmp);
}
d.readU32(7, &m_rgbColor);
d.readU32(7, &m_rgbColor, QColor(255, 255, 102).rgb());
d.readString(9, &m_title, "VOR Demodulator");
d.readString(11, &m_audioDeviceName, AudioDeviceManager::m_defaultDeviceName);
d.readBool(14, &m_useReverseAPI, false);