1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 02:09:14 -05:00

UDP source: removed rollup widget save/restore state during serialization/deserialization

This commit is contained in:
f4exb 2017-10-05 00:28:05 +02:00
parent d0943b384f
commit dabe952b40

View File

@ -89,7 +89,6 @@ void UDPSrcGUI::resetToDefaults()
QByteArray UDPSrcGUI::serialize() const QByteArray UDPSrcGUI::serialize() const
{ {
SimpleSerializer s(1); SimpleSerializer s(1);
s.writeBlob(1, saveState());
s.writeS32(2, m_channelMarker.getCenterFrequency()); s.writeS32(2, m_channelMarker.getCenterFrequency());
s.writeS32(3, m_sampleFormat); s.writeS32(3, m_sampleFormat);
s.writeReal(4, m_outputSampleRate); s.writeReal(4, m_outputSampleRate);
@ -128,8 +127,6 @@ bool UDPSrcGUI::deserialize(const QByteArray& data)
blockApplySettings(true); blockApplySettings(true);
m_channelMarker.blockSignals(true); m_channelMarker.blockSignals(true);
d.readBlob(1, &bytetmp);
restoreState(bytetmp);
d.readBlob(6, &bytetmp); d.readBlob(6, &bytetmp);
m_channelMarker.deserialize(bytetmp); m_channelMarker.deserialize(bytetmp);