aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyDetailsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyDetailsDialog.cpp (renamed from src/ui/KeyDetailsDialog.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/KeyDetailsDialog.cpp b/src/ui/keypair_details/KeyDetailsDialog.cpp
index 3be333a1..7b09471b 100644
--- a/src/ui/KeyDetailsDialog.cpp
+++ b/src/ui/keypair_details/KeyDetailsDialog.cpp
@@ -22,14 +22,16 @@
*
*/
-#include "ui/KeyDetailsDialog.h"
+#include "ui/keypair_details/KeyDetailsDialog.h"
KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext *ctx, const GpgKey& key, QWidget *parent)
: QDialog(parent) {
tabWidget = new QTabWidget(this);
- tabWidget->addTab(new KeyPairDetailTab(ctx, key, this), tr("KeyPair Details"));
+ tabWidget->addTab(new KeyPairDetailTab(ctx, key, this), tr("KeyPair"));
+ tabWidget->addTab(new KeyPairUIDTab(ctx, key, this), tr("UIDs"));
+ tabWidget->addTab(new KeyPairSubkeyTab(ctx, key, this), tr("Subkeys"));
auto *mainLayout = new QVBoxLayout;
mainLayout->addWidget(tabWidget);
@@ -38,6 +40,4 @@ KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext *ctx, const GpgKey& key, QW
this->setWindowTitle(tr("Key Details"));
this->setModal(true);
this->show();
-
- exec();
} \ No newline at end of file