1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

ADS-B: Allow plugin to be compiled as static lib. Allow building without texttospeech, location or process.

VOR localizer: Allow plugin to be compiled as static lib.
SID feature: Allow plugin to be compiled as static lib.
Satellite Tracker: Allow building without texttospeech or timezone.
Map: Allow plugin to be compiled as static lib. Allow building without SSL.
APT: Allow plugin to be compiled as static lib.
Radio Astronomy: Allow plugin to be compiled as static lib. Allow building without process.
ChannelWebAPIUtils: Fix memory leaks.
DeviceSampleSource: Add signals that indicate when the position or direction of a device (or it's antenna) has changed. This is to support per device position, which is useful for remote devices not at My Position.
This commit is contained in:
srcejon
2024-09-17 09:47:45 +01:00
parent f522d88fc5
commit 24d80f8ab0
38 changed files with 1015 additions and 157 deletions
+9 -1
View File
@@ -2035,7 +2035,15 @@ void SIDGUI::on_showPaths_clicked()
{
// Get position of device, defaulting to My Position
QGeoCoordinate rxPosition;
if (!ChannelWebAPIUtils::getDevicePosition(deviceSetIndex, rxPosition))
float latitude, longitude, altitude;
if (ChannelWebAPIUtils::getDevicePosition(deviceSetIndex, latitude, longitude, altitude))
{
rxPosition.setLatitude(latitude);
rxPosition.setLongitude(longitude);
rxPosition.setAltitude(altitude);
}
else
{
rxPosition.setLatitude(MainCore::instance()->getSettings().getLatitude());
rxPosition.setLongitude(MainCore::instance()->getSettings().getLongitude());