Fix for QT 5.12

This commit is contained in:
Jon Beniston 2022-09-17 08:46:17 +01:00
parent 0fa9026e62
commit 7b8ad1c6cf
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ void RemoteControlGUI::createControls(RemoteControlDeviceGUI *gui, QBoxLayout *v
combo->setToolTip("Set value for " + info->m_name);
combo->insertItems(0, info->m_values);
connect(combo, &QComboBox::textActivated,
connect(combo, &QComboBox::currentTextChanged,
[=] (const QString &text)
{
RemoteControl::MsgDeviceSetState *message = RemoteControl::MsgDeviceSetState::create(gui->m_rcDevice->m_protocol,