mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -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:
@@ -65,7 +65,11 @@ void getGroundTrack(QDateTime dateTime,
|
||||
// For 3D map, we want to quantize to minutes, so we replace previous
|
||||
// position data, rather than insert additional positions alongside the old
|
||||
// which can result is the camera view jumping around
|
||||
#if QT_CONFIG(timezone)
|
||||
dateTime = QDateTime(dateTime.date(), QTime(dateTime.time().hour(), dateTime.time().minute()), dateTime.timeZone());
|
||||
#else
|
||||
dateTime = QDateTime(dateTime.date(), QTime(dateTime.time().hour(), dateTime.time().minute()));
|
||||
#endif
|
||||
|
||||
// Note 2D map doesn't support paths wrapping around Earth several times
|
||||
// So we just have a slight overlap here, with the future track being longer
|
||||
|
||||
Reference in New Issue
Block a user