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

BFM demod: save mono/stereo toggle

This commit is contained in:
f4exb 2015-12-09 01:59:16 +01:00
parent 2a194ca44e
commit 5b1592598e

View File

@ -104,6 +104,7 @@ QByteArray BFMDemodGUI::serialize() const
s.writeS32(5, ui->squelch->value());
s.writeU32(7, m_channelMarker.getColor().rgb());
s.writeBlob(8, ui->spectrumGUI->serialize());
s.writeBool(9, ui->audioStereo->isChecked());
return s.final();
}
@ -122,6 +123,7 @@ bool BFMDemodGUI::deserialize(const QByteArray& data)
QByteArray bytetmp;
quint32 u32tmp;
qint32 tmp;
bool booltmp;
blockApplySettings(true);
m_channelMarker.blockSignals(true);
@ -151,6 +153,9 @@ bool BFMDemodGUI::deserialize(const QByteArray& data)
d.readBlob(8, &bytetmp);
ui->spectrumGUI->deserialize(bytetmp);
d.readBool(9, &booltmp, false);
ui->audioStereo->setChecked(booltmp);
blockApplySettings(false);
m_channelMarker.blockSignals(false);