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

Change map provider from osm to mapboxgl on Linux, to avoid crash

This commit is contained in:
Jon Beniston
2022-12-20 22:33:58 +00:00
parent 26861d3aa8
commit 2e9b8e3203
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -183,10 +183,11 @@ bool MapSettings::deserialize(const QByteArray& data)
QByteArray blob;
d.readBool(1, &m_displayNames, true);
#ifdef LINUX
d.readString(2, &m_mapProvider, "mapboxgl");
#else
d.readString(2, &m_mapProvider, "osm");
#ifdef LINUX
if (m_mapProvider == "osm") {
m_mapProvider = "mapboxgl";
}
#endif
d.readString(3, &m_mapBoxAPIKey, "");
d.readString(4, &m_mapBoxStyles, "");