diff options
author | Saturneric <[email protected]> | 2022-01-15 02:12:38 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-15 02:12:38 +0000 |
commit | 96d14413a5da23ab6ac5aa93a966cd19d4898288 (patch) | |
tree | 880829f3978029aeff391e56fb15fdc52b4a3f63 /src/ui/keypair_details/KeyDetailsDialog.cpp | |
parent | <doc, refactor>(ci): Tidy up code in gpg/function (diff) | |
download | GpgFrontend-96d14413a5da23ab6ac5aa93a966cd19d4898288.tar.gz GpgFrontend-96d14413a5da23ab6ac5aa93a966cd19d4898288.zip |
<doc, refactor>(ci): Tidy up code of core and related parts
1. Rename related entities.
2. Add a comments.
Diffstat (limited to 'src/ui/keypair_details/KeyDetailsDialog.cpp')
-rw-r--r-- | src/ui/keypair_details/KeyDetailsDialog.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/keypair_details/KeyDetailsDialog.cpp b/src/ui/keypair_details/KeyDetailsDialog.cpp index 83be8af0..4b4c0dba 100644 --- a/src/ui/keypair_details/KeyDetailsDialog.cpp +++ b/src/ui/keypair_details/KeyDetailsDialog.cpp @@ -33,10 +33,11 @@ namespace GpgFrontend::UI { KeyDetailsDialog::KeyDetailsDialog(const GpgKey& key, QWidget* parent) : QDialog(parent) { tabWidget = new QTabWidget(); - tabWidget->addTab(new KeyPairDetailTab(key.id(), tabWidget), _("KeyPair")); - tabWidget->addTab(new KeyPairUIDTab(key.id(), tabWidget), _("UIDs")); - tabWidget->addTab(new KeyPairSubkeyTab(key.id(), tabWidget), _("Subkeys")); - tabWidget->addTab(new KeyPairOperaTab(key.id(), tabWidget), _("Operations")); + tabWidget->addTab(new KeyPairDetailTab(key.GetId(), tabWidget), _("KeyPair")); + tabWidget->addTab(new KeyPairUIDTab(key.GetId(), tabWidget), _("UIDs")); + tabWidget->addTab(new KeyPairSubkeyTab(key.GetId(), tabWidget), _("Subkeys")); + tabWidget->addTab(new KeyPairOperaTab(key.GetId(), tabWidget), + _("Operations")); auto* mainLayout = new QVBoxLayout; mainLayout->addWidget(tabWidget); |