having trouble with void ConnectDialog::on_buttonBox_accepted()