diff options
author | Saturneric <[email protected]> | 2022-01-15 02:47:45 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-15 02:47:45 +0000 |
commit | c692b99171e38acc0b8a162bab4a5f3f5641aeb9 (patch) | |
tree | 839411cb304dd6ada05fef9780a994a3d7f3aa8b /src/ui/widgets/ExportKeyPackageDialog.cpp | |
parent | <doc, refactor>(ci): Tidy up code of core and related parts (diff) | |
download | GpgFrontend-c692b99171e38acc0b8a162bab4a5f3f5641aeb9.tar.gz GpgFrontend-c692b99171e38acc0b8a162bab4a5f3f5641aeb9.zip |
<doc, refactor>(ui): Tidy up part of the code of ui and related parts
1. Rename related entities.
2. Add comments.
Diffstat (limited to 'src/ui/widgets/ExportKeyPackageDialog.cpp')
-rw-r--r-- | src/ui/widgets/ExportKeyPackageDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widgets/ExportKeyPackageDialog.cpp b/src/ui/widgets/ExportKeyPackageDialog.cpp index 04d576ad..77e490f4 100644 --- a/src/ui/widgets/ExportKeyPackageDialog.cpp +++ b/src/ui/widgets/ExportKeyPackageDialog.cpp @@ -60,7 +60,7 @@ GpgFrontend::UI::ExportKeyPackageDialog::ExportKeyPackageDialog( write_buffer_to_file(file_name.toStdString(), passphrase_); }); - connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=]() { + connect(ui->button_box_, &QDialogButtonBox::accepted, this, [=]() { if (ui->outputPathLabel->text().isEmpty()) { QMessageBox::critical( this, _("Forbidden"), @@ -121,7 +121,7 @@ GpgFrontend::UI::ExportKeyPackageDialog::ExportKeyPackageDialog( "</b>"); }); - connect(ui->buttonBox, &QDialogButtonBox::rejected, this, + connect(ui->button_box_, &QDialogButtonBox::rejected, this, [=]() { this->close(); }); ui->nameLabel->setText(_("Key Package Name")); |