Fix gcc warnings

pull/1011/head
Jon Beniston 2021-10-12 12:17:57 +01:00
rodzic 1de5a38d6b
commit 60b500f56c
5 zmienionych plików z 8 dodań i 5 usunięć

Wyświetl plik

@ -3560,6 +3560,8 @@ void RadioAstronomyGUI::plotPowerVsTimeChart()
break;
}
break;
default:
break;
}
m_powerChart->addAxis(m_powerXAxis, Qt::AlignBottom);
@ -3950,6 +3952,8 @@ RadioAstronomyGUI::FFTMeasurement* RadioAstronomyGUI::currentFFT()
void RadioAstronomyGUI::on_spectrumYUnits_currentIndexChanged(int index)
{
(void) index;
QString text = ui->spectrumYUnits->currentText();
if (text == "dBFS")
{

Wyświetl plik

@ -549,7 +549,7 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
const MainSettings& mainSettings = mainCore->getSettings();
const std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
if (devSettings->m_deviceSetIndex < deviceSets.size())
if (devSettings->m_deviceSetIndex < (int)deviceSets.size())
{
const DeviceSet *deviceSet = deviceSets[devSettings->m_deviceSetIndex];
QString presetType;

Wyświetl plik

@ -622,7 +622,6 @@ void StarTrackerWorker::update()
swgTarget->setEarthOrbitVelocityBcrs(vOrbit);
double vLSRK = Astronomy::sunVelocityLSRK(rd);
swgTarget->setSunVelocityLsr(vLSRK);
double vCorr = vRot + vOrbit + vLSRK;
(*it)->push(MainCore::MsgStarTrackerTarget::create(m_starTracker, swgTarget));
}
}

Wyświetl plik

@ -569,13 +569,13 @@ bool ChannelWebAPIUtils::patchFeatureSetting(unsigned int featureSetIndex, unsig
if (httpRC/100 == 2)
{
qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), value);
qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), qPrintable(value));
return true;
}
else
{
qWarning("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s error %d: %s",
setting, value, httpRC, qPrintable(*errorResponse2.getMessage()));
qPrintable(setting), qPrintable(value), httpRC, qPrintable(*errorResponse2.getMessage()));
return false;
}
}

Wyświetl plik

@ -13,7 +13,7 @@ RadioClockSettings:
type: number
format: float
modulation:
description: 0 - MSF, 1 - DCF77, 2 - TDF
description: 0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB
type: integer
timezone:
description: 0 - Broadcast, 1 - Local, 2 - UTC