diff options
author | saturneric <[email protected]> | 2025-01-27 23:07:49 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-27 23:14:21 +0000 |
commit | 0a8a116d2dabedae09995906bef7a4a25af2fd61 (patch) | |
tree | 8c9334041a08fb244aa5686f1413915dd9a24365 /src/ui/dialog/key_generate/KeygenDialog.cpp | |
parent | fix: tiny fixes (diff) | |
download | GpgFrontend-0a8a116d2dabedae09995906bef7a4a25af2fd61.tar.gz GpgFrontend-0a8a116d2dabedae09995906bef7a4a25af2fd61.zip |
refactor: code clean up
Diffstat (limited to 'src/ui/dialog/key_generate/KeygenDialog.cpp')
-rw-r--r-- | src/ui/dialog/key_generate/KeygenDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/key_generate/KeygenDialog.cpp b/src/ui/dialog/key_generate/KeygenDialog.cpp index c9006b0c..0bf235ac 100644 --- a/src/ui/dialog/key_generate/KeygenDialog.cpp +++ b/src/ui/dialog/key_generate/KeygenDialog.cpp @@ -31,13 +31,13 @@ #include "core/GpgModel.h" #include "core/function/GlobalSettingStation.h" #include "core/function/gpg/GpgKeyOpera.h" -#include "core/model/DataObject.h" #include "core/module/ModuleManager.h" #include "core/typedef/GpgTypedef.h" #include "core/utils/CacheUtils.h" #include "core/utils/GpgUtils.h" #include "ui/UISignalStation.h" #include "ui/UserInterfaceUtils.h" +#include "ui/function/GpgOperaHelper.h" namespace GpgFrontend::UI { @@ -150,7 +150,7 @@ void KeyGenDialog::slot_key_gen_accept() { LOG_D() << "try to generate key at gpg context channel: " << selected_gpg_context_channel; - CommonUtils::WaitForOpera( + GpgOperaHelper::WaitForOpera( this, tr("Generating"), [this, gen_key_info = this->gen_key_info_, selected_gpg_context_channel](const OperaWaitingHd& hd) { |