summaryrefslogtreecommitdiffhomepage
path: root/proto-udp/ftnoir_protocol_ftn_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-udp/ftnoir_protocol_ftn_dialog.cpp')
-rw-r--r--proto-udp/ftnoir_protocol_ftn_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-udp/ftnoir_protocol_ftn_dialog.cpp b/proto-udp/ftnoir_protocol_ftn_dialog.cpp
index 70416a69..51ce483c 100644
--- a/proto-udp/ftnoir_protocol_ftn_dialog.cpp
+++ b/proto-udp/ftnoir_protocol_ftn_dialog.cpp
@@ -21,8 +21,8 @@ FTNControls::FTNControls()
tie_setting(s.ip4, ui.spinIPFourthNibble);
tie_setting(s.port, ui.spinPortNumber);
- connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
- connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
+ connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &FTNControls::doOK);
+ connect(ui.buttonBox, &QDialogButtonBox::rejected, this, &FTNControls::doCancel);
}
//