1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00

Use unique window colour for Single Channel VOR Demod

This commit is contained in:
f4exb 2021-02-28 06:00:37 +01:00
parent a2b1e5207f
commit 5f586910ff

View File

@ -36,7 +36,7 @@ void VORDemodSCSettings::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;
@ -108,7 +108,7 @@ bool VORDemodSCSettings::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);