From dabe952b40ba3a8353096bf4064d2ae82eecfa6e Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 5 Oct 2017 00:28:05 +0200 Subject: [PATCH] UDP source: removed rollup widget save/restore state during serialization/deserialization --- plugins/channelrx/udpsrc/udpsrcgui.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/channelrx/udpsrc/udpsrcgui.cpp b/plugins/channelrx/udpsrc/udpsrcgui.cpp index 6f9e46d56..81cc84f31 100644 --- a/plugins/channelrx/udpsrc/udpsrcgui.cpp +++ b/plugins/channelrx/udpsrc/udpsrcgui.cpp @@ -89,7 +89,6 @@ void UDPSrcGUI::resetToDefaults() QByteArray UDPSrcGUI::serialize() const { SimpleSerializer s(1); - s.writeBlob(1, saveState()); s.writeS32(2, m_channelMarker.getCenterFrequency()); s.writeS32(3, m_sampleFormat); s.writeReal(4, m_outputSampleRate); @@ -128,8 +127,6 @@ bool UDPSrcGUI::deserialize(const QByteArray& data) blockApplySettings(true); m_channelMarker.blockSignals(true); - d.readBlob(1, &bytetmp); - restoreState(bytetmp); d.readBlob(6, &bytetmp); m_channelMarker.deserialize(bytetmp);