diff options
author | saturneric <[email protected]> | 2025-04-13 19:33:31 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-13 19:33:31 +0000 |
commit | 7ca18eb0e2c4204f749c682b66c862968e8d2f58 (patch) | |
tree | ba8e0303ebc6ec376b1be580408d9cd91f58f2d8 /src/ui/dialog/GeneralDialog.cpp | |
parent | feat: add openpgp smart card support (diff) | |
download | GpgFrontend-7ca18eb0e2c4204f749c682b66c862968e8d2f58.tar.gz GpgFrontend-7ca18eb0e2c4204f749c682b66c862968e8d2f58.zip |
feat: add SmartCardController
Diffstat (limited to 'src/ui/dialog/GeneralDialog.cpp')
-rw-r--r-- | src/ui/dialog/GeneralDialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/GeneralDialog.cpp b/src/ui/dialog/GeneralDialog.cpp index 7f9a9f92..2b0fcb3d 100644 --- a/src/ui/dialog/GeneralDialog.cpp +++ b/src/ui/dialog/GeneralDialog.cpp @@ -37,6 +37,9 @@ GpgFrontend::UI::GeneralDialog::GeneralDialog(QString name, QWidget *parent) : QDialog(parent), name_(std::move(name)) { slot_restore_settings(); connect(this, &QDialog::finished, this, &GeneralDialog::slot_save_settings); + + // should delete itself at closing by default + setAttribute(Qt::WA_DeleteOnClose); } GpgFrontend::UI::GeneralDialog::~GeneralDialog() = default; |