diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-03 22:23:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-04 12:19:26 +0100 |
commit | b256886a5cb9f2ae3ebda70a2045b19ed9f4233e (patch) | |
tree | 4fa1e46de224cf834a05824dc1eb86001bdb3300 /proto-udp/ftnoir_protocol_ftn_dialog.cpp | |
parent | e89709a801e7874bc02c66848c638c6a0ccc85c1 (diff) |
api: add status check for modules
Diffstat (limited to 'proto-udp/ftnoir_protocol_ftn_dialog.cpp')
-rw-r--r-- | proto-udp/ftnoir_protocol_ftn_dialog.cpp | 4 |
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); } // |