mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Merge pull request #1509 from srcejon/fix_warnings_unused_vars
Fix unused variable warnings
This commit is contained in:
commit
b6e13d1e6c
@ -369,6 +369,9 @@ void AISDemodGUI::filter()
|
||||
|
||||
void AISDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
RollupContents *rollupContents = getRollupContents();
|
||||
|
||||
if (rollupContents->hasExpandableWidgets()) {
|
||||
|
@ -418,6 +418,9 @@ void PagerDemodGUI::filter()
|
||||
|
||||
void PagerDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
RollupContents *rollupContents = getRollupContents();
|
||||
|
||||
if (rollupContents->hasExpandableWidgets()) {
|
||||
|
@ -475,6 +475,9 @@ void RadiosondeDemodGUI::filter()
|
||||
|
||||
void RadiosondeDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
RollupContents *rollupContents = getRollupContents();
|
||||
|
||||
if (rollupContents->hasExpandableWidgets()) {
|
||||
|
@ -209,6 +209,9 @@ void RadioClockGUI::on_timezone_currentIndexChanged(int index)
|
||||
|
||||
void RadioClockGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
RollupContents *rollupContents = getRollupContents();
|
||||
|
||||
if (rollupContents->hasExpandableWidgets()) {
|
||||
|
@ -144,7 +144,7 @@ bool SatelliteTrackerGUI::handleMessage(const Message& message)
|
||||
else if (SatelliteTrackerReport::MsgReportAOS::match(message))
|
||||
{
|
||||
SatelliteTrackerReport::MsgReportAOS& aosReport = (SatelliteTrackerReport::MsgReportAOS&) message;
|
||||
aos(aosReport.getName(), aosReport.getSpeech());
|
||||
aos(aosReport.getSpeech());
|
||||
return true;
|
||||
}
|
||||
else if (SatelliteTrackerReport::MsgReportTarget::match(message))
|
||||
@ -156,7 +156,7 @@ bool SatelliteTrackerGUI::handleMessage(const Message& message)
|
||||
else if (SatelliteTrackerReport::MsgReportLOS::match(message))
|
||||
{
|
||||
SatelliteTrackerReport::MsgReportLOS& losReport = (SatelliteTrackerReport::MsgReportLOS&) message;
|
||||
los(losReport.getName(), losReport.getSpeech());
|
||||
los(losReport.getSpeech());
|
||||
return true;
|
||||
}
|
||||
else if (SatelliteTracker::MsgSatData::match(message))
|
||||
@ -400,7 +400,7 @@ void SatelliteTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
||||
resetContextMenuType();
|
||||
}
|
||||
|
||||
void SatelliteTrackerGUI::aos(const QString& name, const QString &speech)
|
||||
void SatelliteTrackerGUI::aos(const QString &speech)
|
||||
{
|
||||
// Call plotChart() to start the periodic updates with sat position in polar chart
|
||||
plotChart();
|
||||
@ -410,7 +410,7 @@ void SatelliteTrackerGUI::aos(const QString& name, const QString &speech)
|
||||
}
|
||||
}
|
||||
|
||||
void SatelliteTrackerGUI::los(const QString& name, const QString &speech)
|
||||
void SatelliteTrackerGUI::los(const QString &speech)
|
||||
{
|
||||
// Give speech notification of end of pass
|
||||
if (!speech.isEmpty()) {
|
||||
|
@ -111,8 +111,8 @@ private:
|
||||
explicit SatelliteTrackerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature, QWidget* parent = nullptr);
|
||||
virtual ~SatelliteTrackerGUI();
|
||||
|
||||
void aos(const QString& name, const QString &speech);
|
||||
void los(const QString& name, const QString &speech);
|
||||
void aos(const QString &speech);
|
||||
void los(const QString &speech);
|
||||
|
||||
void blockApplySettings(bool block);
|
||||
void applySettings(bool force = false);
|
||||
|
@ -29,6 +29,8 @@ double SciDoubleSpinBox::valueFromText(const QString &text) const
|
||||
|
||||
QValidator::State SciDoubleSpinBox::validate(QString &input, int &pos) const
|
||||
{
|
||||
(void) pos;
|
||||
|
||||
bool ok;
|
||||
input.toDouble(&ok);
|
||||
if (ok) {
|
||||
|
Loading…
Reference in New Issue
Block a user