diff options
author | saturneric <[email protected]> | 2023-12-03 13:01:27 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-03 13:01:27 +0000 |
commit | d0602f09564d3d200b20e83a977315134ced842e (patch) | |
tree | b9cd6f429983a0c9bce51e7fb711b894d634601b /src/ui/UserInterfaceUtils.cpp | |
parent | feat: general improvements of aync execution and memory security (diff) | |
download | GpgFrontend-d0602f09564d3d200b20e83a977315134ced842e.tar.gz GpgFrontend-d0602f09564d3d200b20e83a977315134ced842e.zip |
fix: slove issues in key/subkey generation
Diffstat (limited to '')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 04c6feb3..a73f56d2 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -29,6 +29,7 @@ #include "UserInterfaceUtils.h" #include <gpg-error.h> +#include <qdialog.h> #include <QtNetwork> #include <string> @@ -224,6 +225,7 @@ void CommonUtils::WaitForOpera(QWidget *parent, QEventLoop looper; auto *dialog = new WaitingDialog(_("Generating"), parent); connect(dialog, &QDialog::finished, &looper, &QEventLoop::quit); + connect(dialog, &QDialog::finished, dialog, &QDialog::deleteLater); opera([dialog]() { dialog->accept(); }); |