mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-18 05:38:47 -04:00
Massive UI revamping (v7): persistent channel show/hide
This commit is contained in:
@@ -61,6 +61,7 @@ void UDPSourceSettings::resetToDefaults()
|
||||
m_reverseAPIDeviceIndex = 0;
|
||||
m_reverseAPIChannelIndex = 0;
|
||||
m_workspaceIndex = 0;
|
||||
m_hidden = false;
|
||||
}
|
||||
|
||||
QByteArray UDPSourceSettings::serialize() const
|
||||
@@ -105,6 +106,7 @@ QByteArray UDPSourceSettings::serialize() const
|
||||
|
||||
s.writeS32(28, m_workspaceIndex);
|
||||
s.writeBlob(29, m_geometryBytes);
|
||||
s.writeBool(30, m_hidden);
|
||||
|
||||
return s.final();
|
||||
}
|
||||
@@ -201,6 +203,7 @@ bool UDPSourceSettings::deserialize(const QByteArray& data)
|
||||
|
||||
d.readS32(28, &m_workspaceIndex, 0);
|
||||
d.readBlob(29, &m_geometryBytes);
|
||||
d.readBool(30, &m_hidden, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user