1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-06 16:05:13 -04: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
@@ -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);