1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

Channel Analyzer: fixed bug in deserialization. Fixes issue #314

This commit is contained in:
f4exb 2019-03-24 10:53:30 +01:00
parent 1e1a64cd13
commit ca88a3a42e
3 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ sdrangel (4.5.1-1) unstable; urgency=medium
* PlutoSDR: recognize networked devices * PlutoSDR: recognize networked devices
* FreeDV: internal FreeDV library to facilitate packaging * FreeDV: internal FreeDV library to facilitate packaging
* Fixed some constness in qrtplib * Fixed some constness in qrtplib
* Fixed bug in Channel Analyzer deserialization. Fixes issue #314.
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Fri, 22 Mar 2019 20:14:18 +0100 -- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Fri, 22 Mar 2019 20:14:18 +0100

View File

@ -23,7 +23,7 @@
const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor = { const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor = {
QString("Channel Analyzer"), QString("Channel Analyzer"),
QString("4.3.2"), QString("4.5.1"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -380,7 +380,7 @@ bool GLScopeGUI::deserialize(const QByteArray& data)
for (iTrigger = 0; iTrigger < nbTriggersSaved; iTrigger++) for (iTrigger = 0; iTrigger < nbTriggersSaved; iTrigger++)
{ {
ScopeVis::TriggerData triggerData = m_scopeVis->getTriggerData(iTrigger); ScopeVis::TriggerData triggerData;
float r, g, b; float r, g, b;
d.readS32(210 + 16*iTrigger, &intValue, 0); d.readS32(210 + 16*iTrigger, &intValue, 0);