diff --git a/examples/serialport/terminal/mainwindow.cpp b/examples/serialport/terminal/mainwindow.cpp index 996b3d6cbec9bdf3c75f7ea122e90539a5249999..f6e86cc28f391d67c0fac6950de893719768c882 100644 --- a/examples/serialport/terminal/mainwindow.cpp +++ b/examples/serialport/terminal/mainwindow.cpp @@ -178,7 +178,7 @@ void MainWindow::initActionsConnections() connect(ui->actionConnect, &QAction::triggered, this, &MainWindow::openSerialPort); connect(ui->actionDisconnect, &QAction::triggered, this, &MainWindow::closeSerialPort); connect(ui->actionQuit, &QAction::triggered, this, &MainWindow::close); - connect(ui->actionConfigure, &QAction::triggered, settings, &MainWindow::show); + connect(ui->actionConfigure, &QAction::triggered, settings, &SettingsDialog::show); connect(ui->actionClear, &QAction::triggered, console, &Console::clear); connect(ui->actionAbout, &QAction::triggered, this, &MainWindow::about); connect(ui->actionAboutQt, &QAction::triggered, qApp, &QApplication::aboutQt);