aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyNewUIDDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyNewUIDDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/keypair_details/KeyNewUIDDialog.cpp b/src/ui/keypair_details/KeyNewUIDDialog.cpp
index 5adba833..0e20acd0 100644
--- a/src/ui/keypair_details/KeyNewUIDDialog.cpp
+++ b/src/ui/keypair_details/KeyNewUIDDialog.cpp
@@ -57,16 +57,16 @@ KeyNewUIDDialog::KeyNewUIDDialog(const KeyId& key_id, QWidget* parent)
0, 1, 2);
gridLayout->addWidget(error_label_, 5, 0, 1, 2);
- connect(create_button_, SIGNAL(clicked(bool)), this,
- SLOT(slot_create_new_uid()));
+ connect(create_button_, &QPushButton::clicked, this,
+ &KeyNewUIDDialog::slot_create_new_uid);
this->setLayout(gridLayout);
this->setWindowTitle(_("Create New UID"));
this->setAttribute(Qt::WA_DeleteOnClose, true);
this->setModal(true);
- connect(this, SIGNAL(SignalUIDCreated()), SignalStation::GetInstance(),
- SIGNAL(KeyDatabaseRefresh()));
+ connect(this, &KeyNewUIDDialog::SignalUIDCreated, SignalStation::GetInstance(),
+ &SignalStation::SignalKeyDatabaseRefresh);
}
void KeyNewUIDDialog::slot_create_new_uid() {