aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyUIDSignDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyUIDSignDialog.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp
index b8f10f92..f58d99e0 100644
--- a/src/ui/keypair_details/KeyUIDSignDialog.cpp
+++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp
@@ -86,8 +86,8 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
timeLayout->addWidget(non_expire_check_, 0, 2);
layout->addLayout(timeLayout, 1, 0);
- connect(sign_key_button_, SIGNAL(clicked(bool)), this,
- SLOT(slot_sign_key(bool)));
+ connect(sign_key_button_, &QPushButton::clicked, this,
+ &KeyUIDSignDialog::slot_sign_key);
this->setLayout(layout);
this->setModal(true);
@@ -96,8 +96,9 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
setAttribute(Qt::WA_DeleteOnClose, true);
- connect(this, SIGNAL(SignalKeyUIDSignUpdate()), SignalStation::GetInstance(),
- SIGNAL(KeyDatabaseRefresh()));
+ connect(this, &KeyUIDSignDialog::SignalKeyUIDSignUpdate,
+ SignalStation::GetInstance(),
+ &SignalStation::SignalKeyDatabaseRefresh);
}
void KeyUIDSignDialog::slot_sign_key(bool clicked) {