diff options
author | Saturn&Eric <[email protected]> | 2022-07-23 14:54:51 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-07-23 14:54:51 +0000 |
commit | b244320b2d228189767aa6d59febceb6b64527fb (patch) | |
tree | 179d34e2a3e84231fad72c4bbe9f74673d0b74d0 /src/ui/dialog/key_generate/SubkeyGenerateDialog.cpp | |
parent | Merge pull request #68 from saturneric/develop-2.0.8 (diff) | |
parent | feat(project): add rpm package support (diff) | |
download | GpgFrontend-2.0.9.tar.gz GpgFrontend-2.0.9.zip |
Merge pull request #70 from saturneric/dev/2.0.8/saturnericv2.0.9
Develop 2.0.9.1
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/key_generate/SubkeyGenerateDialog.cpp (renamed from src/ui/key_generate/SubkeyGenerateDialog.cpp) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/key_generate/SubkeyGenerateDialog.cpp b/src/ui/dialog/key_generate/SubkeyGenerateDialog.cpp index 2b9e076d..806c0e50 100644 --- a/src/ui/key_generate/SubkeyGenerateDialog.cpp +++ b/src/ui/dialog/key_generate/SubkeyGenerateDialog.cpp @@ -24,7 +24,7 @@ * */ -#include "ui/key_generate/SubkeyGenerateDialog.h" +#include "SubkeyGenerateDialog.h" #include "core/function/GlobalSettingStation.h" #include "core/function/gpg/GpgKeyGetter.h" @@ -35,7 +35,8 @@ namespace GpgFrontend::UI { SubkeyGenerateDialog::SubkeyGenerateDialog(const KeyId& key_id, QWidget* parent) - : QDialog(parent), key_(GpgKeyGetter::GetInstance().GetKey(key_id)) { + : GeneralDialog(typeid(SubkeyGenerateDialog).name(), parent), + key_(GpgKeyGetter::GetInstance().GetKey(key_id)) { auto& settings = GlobalSettingStation::GetInstance().GetUISettings(); // max expire date time |