mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 15:04:38 -04:00
Massive UI revamping (v7): created configurations with just Features for now
This commit is contained in:
@@ -69,6 +69,7 @@ void GS232ControllerSettings::resetToDefaults()
|
||||
m_connection = SERIAL;
|
||||
m_host = "127.0.0.1";
|
||||
m_port = 4533;
|
||||
m_workspaceIndex = 0;
|
||||
}
|
||||
|
||||
QByteArray GS232ControllerSettings::serialize() const
|
||||
@@ -104,6 +105,9 @@ QByteArray GS232ControllerSettings::serialize() const
|
||||
s.writeBlob(26, m_rollupState->serialize());
|
||||
}
|
||||
|
||||
s.writeS32(27, m_workspaceIndex);
|
||||
s.writeBlob(28, m_geometryBytes);
|
||||
|
||||
return s.final();
|
||||
}
|
||||
|
||||
@@ -163,6 +167,9 @@ bool GS232ControllerSettings::deserialize(const QByteArray& data)
|
||||
m_rollupState->deserialize(bytetmp);
|
||||
}
|
||||
|
||||
d.readS32(27, &m_workspaceIndex, 0);
|
||||
d.readBlob(28, &m_geometryBytes);
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user