aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyUIDSignDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-07-22 17:21:48 +0000
committerSaturneric <[email protected]>2022-07-22 17:21:48 +0000
commit8729378555af829cdb5ac1f0ab4b0dedff613644 (patch)
tree94ea60e78e3128c85429ac8f7b63fd7006beb96d /src/ui/keypair_details/KeyUIDSignDialog.cpp
parentfix: fix some issues (diff)
downloadGpgFrontend-8729378555af829cdb5ac1f0ab4b0dedff613644.tar.gz
GpgFrontend-8729378555af829cdb5ac1f0ab4b0dedff613644.zip
feat(ui): use general main window and dialog class
1. store window size and position 2. store icon size and style
Diffstat (limited to 'src/ui/keypair_details/KeyUIDSignDialog.cpp')
-rw-r--r--src/ui/keypair_details/KeyUIDSignDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp
index 2ed45512..b1845501 100644
--- a/src/ui/keypair_details/KeyUIDSignDialog.cpp
+++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp
@@ -34,7 +34,9 @@ namespace GpgFrontend::UI {
KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
QWidget* parent)
- : QDialog(parent), m_uids_(std::move(uid)), m_key_(key) {
+ : GeneralDialog(typeid(KeyUIDSignDialog).name(), 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(