1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-13 11:18:48 -04:00

Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207

This commit is contained in:
f4exb
2022-04-20 20:08:41 +02:00
parent f9985ad061
commit 249db03cf3
133 changed files with 8 additions and 499 deletions
@@ -42,7 +42,6 @@ void USRPOutputSettings::resetToDefaults()
m_reverseAPIAddress = "127.0.0.1";
m_reverseAPIPort = 8888;
m_reverseAPIDeviceIndex = 0;
m_workspaceIndex = 0;
}
QByteArray USRPOutputSettings::serialize() const
@@ -62,8 +61,6 @@ QByteArray USRPOutputSettings::serialize() const
s.writeU32(11, m_reverseAPIPort);
s.writeU32(12, m_reverseAPIDeviceIndex);
s.writeS32(13, m_loOffset);
s.writeS32(14, m_workspaceIndex);
s.writeBlob(15, m_geometryBytes);
return s.final();
}
@@ -103,8 +100,6 @@ bool USRPOutputSettings::deserialize(const QByteArray& data)
d.readU32(12, &uintval, 0);
m_reverseAPIDeviceIndex = uintval > 99 ? 99 : uintval;
d.readS32(13, &m_loOffset, 0);
d.readS32(14, &m_workspaceIndex, 0);
d.readBlob(15, &m_geometryBytes);
return true;
}