Browse Source

sdrgui: Initialize device set selection

Initialize m_selectedDeviceSetIndex in DeviceSetSelectionDialog.

Found by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
2e25451a26
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      sdrgui/gui/devicesetselectiondialog.cpp

1
sdrgui/gui/devicesetselectiondialog.cpp

@ -30,6 +30,7 @@ DeviceSetSelectionDialog::DeviceSetSelectionDialog(std::vector<DeviceUISet*>& de @@ -30,6 +30,7 @@ DeviceSetSelectionDialog::DeviceSetSelectionDialog(std::vector<DeviceUISet*>& de
ui(new Ui::WorkspaceSelectionDialog),
m_deviceUIs(deviceUIs),
m_channelDeviceSetIndex(channelDeviceSetIndex),
m_selectedDeviceSetIndex(0),
m_hasChanged(false)
{
ui->setupUi(this);

Loading…
Cancel
Save