Fix gcc warnings.

pull/1914/head
srcejon 2023-12-06 10:14:01 +00:00
rodzic 2ac7cfd800
commit c30af7f39f
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -81,7 +81,7 @@ public:
void setCurrentDeviceIndex(int index) { m_currentDeviceIndex = index; } //!< index in plugins list
void setChannelNames(const QStringList& channelNames) { m_channelAddDialog.addChannelNames(channelNames); }
DeviceUISet* getDeviceUISet() { return m_deviceUISet; }
virtual void setReplayTime(float time) {} //!< Not supported by all devices
virtual void setReplayTime(float time) { (void) time; } //!< Not supported by all devices
protected:
void closeEvent(QCloseEvent *event) override;

Wyświetl plik

@ -830,6 +830,8 @@ int DeviceUISet::webapiSpectrumServerDelete(SWGSDRangel::SWGSuccessResponse& res
void DeviceUISet::onTimeSelected(int deviceSetIndex, float time)
{
(void) deviceSetIndex;
if (m_deviceGUI) {
m_deviceGUI->setReplayTime(time);
}