aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/key_generate/KeygenDialog.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/key_generate/KeygenDialog.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/key_generate/KeygenDialog.cpp')
-rw-r--r--src/ui/key_generate/KeygenDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/key_generate/KeygenDialog.cpp b/src/ui/key_generate/KeygenDialog.cpp
index d5ca801d..1295a7ac 100644
--- a/src/ui/key_generate/KeygenDialog.cpp
+++ b/src/ui/key_generate/KeygenDialog.cpp
@@ -35,7 +35,7 @@
namespace GpgFrontend::UI {
-KeyGenDialog::KeyGenDialog(QWidget* parent) : QDialog(parent) {
+KeyGenDialog::KeyGenDialog(QWidget* parent) : GeneralDialog(typeid(KeyGenDialog).name(), parent) {
button_box_ =
new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);