diff options
Diffstat (limited to 'examples/knx/knxeditor/mainwindow.cpp')
-rw-r--r-- | examples/knx/knxeditor/mainwindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/knx/knxeditor/mainwindow.cpp b/examples/knx/knxeditor/mainwindow.cpp index c967ca2..554c4a7 100644 --- a/examples/knx/knxeditor/mainwindow.cpp +++ b/examples/knx/knxeditor/mainwindow.cpp @@ -147,10 +147,8 @@ MainWindow::MainWindow(QWidget *parent) ui->tunnelingFeatures->setNatAware(checked); }); - connect(ui->localIpBox, QOverload<int>::of(&QComboBox::activated), this, - &MainWindow::newIPAddressSelected); - connect(ui->serverBox, QOverload<int>::of(&QComboBox::activated), this, - &MainWindow::newServerSelected); + connect(ui->localIpBox, &QComboBox::activated, this, &MainWindow::newIPAddressSelected); + connect(ui->serverBox, &QComboBox::activated, this, &MainWindow::newServerSelected); connect(ui->actionExit, &QAction::triggered, this, &QApplication::quit); connect(ui->actionClear_Output, &QAction::triggered, ui->outputEdit, &QTextEdit::clear); |