1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

ATV Demodulator: serialize/deserialize RF filters values

This commit is contained in:
f4exb 2017-03-18 16:10:16 +01:00
parent 4c6451b3c4
commit 030b58a1ed

View File

@ -103,6 +103,8 @@ QByteArray ATVDemodGUI::serialize() const
s.writeBool(9, ui->hSync->isChecked());
s.writeBool(10, ui->vSync->isChecked());
s.writeBool(11, ui->halfImage->isChecked());
s.writeS32(12, ui->rfBW->value());
s.writeS32(13, ui->rfOppBW->value());
return s.final();
}
@ -154,6 +156,10 @@ bool ATVDemodGUI::deserialize(const QByteArray& arrData)
ui->vSync->setChecked(booltmp);
d.readBool(11, &booltmp, false);
ui->halfImage->setChecked(booltmp);
d.readS32(12, &tmp, 10);
ui->rfBW->setValue(tmp);
d.readS32(13, &tmp, 10);
ui->rfOppBW->setValue(tmp);
blockApplySettings(false);
m_objChannelMarker.blockSignals(false);