diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a3c125ac..9dd8a775 100755 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -102,7 +102,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(twoVerify, &QCheckBox::toggled, &packetNetwork , &PacketNetwork::on_twoVerify_StateChanged); //hostName - connect(ui->hostName, QLineEdit::editingFinished, this, MainWindow::on_hostName_editingFinished); + connect(ui->hostName, &QLineEdit::editingFinished, this, &MainWindow::on_hostName_editingFinished); //cipher comboBox