mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Fix gcc warnings.
This commit is contained in:
parent
2ac7cfd800
commit
c30af7f39f
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user