diff options
author | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
commit | a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b (patch) | |
tree | 3299c2bcbddc0eb1fa0b9bb3ae002e5ac856180c /src/ui/keypair_details/KeyUIDSignDialog.cpp | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.tar.gz GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up widgets.
Diffstat (limited to '')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp index 674d0ddb..b8f10f92 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp @@ -37,7 +37,7 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, : QDialog(parent), m_uids_(std::move(uid)), m_key_(key) { const auto key_id = m_key_.GetId(); m_key_list_ = new KeyList(KeyMenuAbility::NONE, this); - m_key_list_->addListGroupTab( + m_key_list_->AddListGroupTab( _("Signers"), KeyListRow::ONLY_SECRET_KEY, KeyListColumn::NAME | KeyListColumn::EmailAddress, [key_id](const GpgKey& key) -> bool { @@ -48,7 +48,7 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, else return true; }); - m_key_list_->slotRefresh(); + m_key_list_->SlotRefresh(); sign_key_button_ = new QPushButton("Sign"); @@ -104,7 +104,7 @@ void KeyUIDSignDialog::slot_sign_key(bool clicked) { LOG(INFO) << "Called"; // Set Signers - auto key_ids = m_key_list_->getChecked(); + auto key_ids = m_key_list_->GetChecked(); auto keys = GpgKeyGetter::GetInstance().GetKeys(key_ids); LOG(INFO) << "Key Info Got"; |