summaryrefslogtreecommitdiffstats
path: root/examples/knx/feature/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/knx/feature/mainwindow.cpp')
-rw-r--r--examples/knx/feature/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/knx/feature/mainwindow.cpp b/examples/knx/feature/mainwindow.cpp
index 97265a9..3fb2c33 100644
--- a/examples/knx/feature/mainwindow.cpp
+++ b/examples/knx/feature/mainwindow.cpp
@@ -281,7 +281,7 @@ void MainWindow::setupInterfaces()
}
ui->interfaces->setCurrentIndex(bool(ui->interfaces->count()));
- connect(ui->interfaces, &QComboBox::currentIndexChanged, this, [&](int i, const QString &) {
+ connect(ui->interfaces, &QComboBox::currentIndexChanged, this, [&](int i) {
if (i < 0)
return;
m_discoveryAgent.stop();