aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/mail')
-rw-r--r--src/ui/mail/RecipientsPicker.cpp2
-rw-r--r--src/ui/mail/SenderPicker.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/mail/RecipientsPicker.cpp b/src/ui/mail/RecipientsPicker.cpp
index 88e823a9..d6b8bcc5 100644
--- a/src/ui/mail/RecipientsPicker.cpp
+++ b/src/ui/mail/RecipientsPicker.cpp
@@ -34,7 +34,7 @@ GpgFrontend::UI::RecipientsPicker::RecipientsPicker(
const GpgFrontend::KeyIdArgsListPtr& current_key_ids, QWidget* parent)
: QDialog(parent) {
auto confirm_button = new QPushButton(_("Confirm"));
- connect(confirm_button, SIGNAL(clicked(bool)), this, SLOT(accept()));
+ connect(confirm_button,&QPushButton::clicked, this, &RecipientsPicker::accept);
// Setup KeyList
key_list_ = new KeyList(KeyMenuAbility::NONE, this);
diff --git a/src/ui/mail/SenderPicker.cpp b/src/ui/mail/SenderPicker.cpp
index dce72332..e3563480 100644
--- a/src/ui/mail/SenderPicker.cpp
+++ b/src/ui/mail/SenderPicker.cpp
@@ -34,7 +34,7 @@ GpgFrontend::UI::SenderPicker::SenderPicker(const KeyId& current_key_id,
QWidget* parent)
: QDialog(parent) {
auto confirm_button = new QPushButton(_("Confirm"));
- connect(confirm_button, SIGNAL(clicked(bool)), this, SLOT(accept()));
+ connect(confirm_button, &QPushButton::clicked, this, &SenderPicker::accept);
// Setup KeyList
key_list_ = new KeyList(KeyMenuAbility::NONE, this);