From 5da344b24a5a6f318e86b7c2e2ff06c794d8761c Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 26 Feb 2021 20:35:58 +0000 Subject: [PATCH] Use unique window colour for VOR Demod --- plugins/channelrx/demodvor/vordemodsettings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channelrx/demodvor/vordemodsettings.cpp b/plugins/channelrx/demodvor/vordemodsettings.cpp index e0c7e35ab..a33311496 100644 --- a/plugins/channelrx/demodvor/vordemodsettings.cpp +++ b/plugins/channelrx/demodvor/vordemodsettings.cpp @@ -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);