mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	
						commit
						2588a7faea
					
				| @ -92,7 +92,7 @@ void ADSBDemodSettings::resetToDefaults() | ||||
|     m_logEnabled = false; | ||||
|     m_airspaces = QStringList({"A", "D", "TMZ"}); | ||||
|     m_airspaceRange = 500.0f; | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) || QT_VERSION == QT_VERSION_CHECK(5, 15, 4) | ||||
|     m_mapProvider = "mapboxgl"; // osm maps do not work in Qt 5.15.3 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #else | ||||
|     m_mapProvider = "osm"; | ||||
| @ -315,8 +315,8 @@ bool ADSBDemodSettings::deserialize(const QByteArray& data) | ||||
|         d.readBlob(60, &m_geometryBytes); | ||||
|         d.readBool(61, &m_hidden, false); | ||||
|         d.readString(62, &m_checkWXAPIKey, ""); | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) | ||||
|         d.readString(63, &m_mapProvider, "mapboxgl"); // osm maps do not work in Qt 5.15.3 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) || QT_VERSION == QT_VERSION_CHECK(5, 15, 4) | ||||
|         d.readString(63, &m_mapProvider, "mapboxgl"); // osm maps do not work in Qt 5.15.3/4 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #else | ||||
|         d.readString(63, &m_mapProvider, "osm"); | ||||
| #endif | ||||
|  | ||||
| @ -88,8 +88,8 @@ MapSettings::~MapSettings() | ||||
| void MapSettings::resetToDefaults() | ||||
| { | ||||
|     m_displayNames = true; | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) | ||||
|     m_mapProvider = "mapboxgl"; // osm maps do not work in Qt 5.15.3 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) || QT_VERSION == QT_VERSION_CHECK(5, 15, 4) | ||||
|     m_mapProvider = "mapboxgl"; // osm maps do not work in Qt 5.15.3/4 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #else | ||||
|     m_mapProvider = "osm"; | ||||
| #endif | ||||
| @ -183,8 +183,8 @@ bool MapSettings::deserialize(const QByteArray& data) | ||||
|         QByteArray blob; | ||||
| 
 | ||||
|         d.readBool(1, &m_displayNames, true); | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) | ||||
|         d.readString(2, &m_mapProvider, "mapboxgl"); // osm maps do not work in Qt 5.15.3 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #if QT_VERSION == QT_VERSION_CHECK(5, 15, 3) || QT_VERSION == QT_VERSION_CHECK(5, 15, 4) | ||||
|         d.readString(2, &m_mapProvider, "mapboxgl"); // osm maps do not work in Qt 5.15.3/4 - https://github.com/f4exb/sdrangel/issues/1169
 | ||||
| #else | ||||
|         d.readString(2, &m_mapProvider, "osm"); | ||||
| #endif | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user