1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Don't use gui/dmsspinbox.h for settings, as not available in server build

This commit is contained in:
Jon Beniston
2021-05-24 13:22:38 +01:00
parent 5f75e2578d
commit ea0ef1b95c
4 changed files with 9 additions and 9 deletions
@@ -46,7 +46,7 @@ void StarTrackerSettings::resetToDefaults()
m_beamwidth = 25.0;
m_enableServer = true;
m_serverPort = 10001;
m_azElUnits = DMSSpinBox::DM;
m_azElUnits = DM;
m_solarFluxData = DRAO_2800;
m_solarFluxUnits = SFU;
m_updatePeriod = 1.0;
@@ -137,7 +137,7 @@ bool StarTrackerSettings::deserialize(const QByteArray& data)
} else {
m_serverPort = 10001;
}
d.readS32(9, (qint32 *)&m_azElUnits, DMSSpinBox::DM);
d.readS32(9, (qint32 *)&m_azElUnits, DM);
d.readFloat(10, &m_updatePeriod, 1.0f);
d.readBool(11, &m_jnow, false);
d.readString(12, &m_refraction, "Positional Astronomy Library");