From 7b8ad1c6cf4529a720957a81c03a1025e4b742d3 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sat, 17 Sep 2022 08:46:17 +0100 Subject: [PATCH] Fix for QT 5.12 --- plugins/feature/remotecontrol/remotecontrolgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/feature/remotecontrol/remotecontrolgui.cpp b/plugins/feature/remotecontrol/remotecontrolgui.cpp index 648505f15..2ee4b0198 100644 --- a/plugins/feature/remotecontrol/remotecontrolgui.cpp +++ b/plugins/feature/remotecontrol/remotecontrolgui.cpp @@ -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,