1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Fix Satellite Tracker build and warnings on Linux

This commit is contained in:
Jon Beniston
2021-02-27 20:47:34 +00:00
parent ef4544b640
commit b9ccaae744
10 changed files with 29 additions and 33 deletions
@@ -579,7 +579,7 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
if (preset != nullptr)
{
qDebug() << "SatelliteTrackerWorker::aos: Loading preset " << preset->getDescription() << " to " << devSettings->m_deviceSet[0];
int deviceSetIndex = devSettings->m_deviceSet.mid(1).toInt();
unsigned int deviceSetIndex = devSettings->m_deviceSet.mid(1).toInt();
std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
if (deviceSetIndex < deviceSets.size())
{