1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Satellite and Star tracker features: use dark theme as default

This commit is contained in:
f4exb 2021-04-23 01:17:05 +02:00
parent d95a3939a4
commit ec8cdc63f4
2 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ void SatelliteTrackerSettings::resetToDefaults()
m_reverseAPIPort = 8888;
m_reverseAPIFeatureSetIndex = 0;
m_reverseAPIFeatureIndex = 0;
m_chartsDarkTheme = false;
m_chartsDarkTheme = true;
for (int i = 0; i < SAT_COL_COLUMNS; i++)
{
m_columnIndexes[i] = i;
@ -196,7 +196,7 @@ bool SatelliteTrackerSettings::deserialize(const QByteArray& data)
m_reverseAPIFeatureSetIndex = utmp > 99 ? 99 : utmp;
d.readU32(35, &utmp, 0);
m_reverseAPIFeatureIndex = utmp > 99 ? 99 : utmp;
d.readBool(36, &m_chartsDarkTheme, false);
d.readBool(36, &m_chartsDarkTheme, true);
for (int i = 0; i < SAT_COL_COLUMNS; i++)
d.readS32(100 + i, &m_columnIndexes[i], i);

View File

@ -54,7 +54,7 @@ void StarTrackerSettings::resetToDefaults()
m_drawSunOnMap = true;
m_drawMoonOnMap = true;
m_drawStarOnMap = true;
m_chartsDarkTheme = false;
m_chartsDarkTheme = true;
m_title = "Star Tracker";
m_rgbColor = QColor(225, 25, 99).rgb();
m_useReverseAPI = false;
@ -167,7 +167,7 @@ bool StarTrackerSettings::deserialize(const QByteArray& data)
d.readU32(29, (quint32 *)&m_solarFluxUnits, SFU);
d.readDouble(30, &m_beamwidth, 25.0);
d.readU32(31, (quint32 *)&m_solarFluxData, DRAO_2800);
d.readBool(32, &m_chartsDarkTheme, false);
d.readBool(32, &m_chartsDarkTheme, true);
return true;
}