mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-15 16:03:42 -04:00
Massive UI revamping (v7): persistent channel show/hide
This commit is contained in:
@@ -57,6 +57,7 @@ void BFMDemodSettings::resetToDefaults()
|
||||
m_reverseAPIDeviceIndex = 0;
|
||||
m_reverseAPIChannelIndex = 0;
|
||||
m_workspaceIndex = 0;
|
||||
m_hidden = false;
|
||||
}
|
||||
|
||||
QByteArray BFMDemodSettings::serialize() const
|
||||
@@ -96,6 +97,7 @@ QByteArray BFMDemodSettings::serialize() const
|
||||
s.writeBool(21, m_rdsActive);
|
||||
s.writeS32(22, m_workspaceIndex);
|
||||
s.writeBlob(23, m_geometryBytes);
|
||||
s.writeBool(24, m_hidden);
|
||||
|
||||
return s.final();
|
||||
}
|
||||
@@ -172,6 +174,7 @@ bool BFMDemodSettings::deserialize(const QByteArray& data)
|
||||
d.readBool(21, &m_rdsActive, false);
|
||||
d.readS32(22, &m_workspaceIndex, 0);
|
||||
d.readBlob(23, &m_geometryBytes);
|
||||
d.readBool(24, &m_hidden, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user