aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/ExportKeyPackageDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-15 02:47:45 +0000
committerSaturneric <[email protected]>2022-01-15 02:47:45 +0000
commitc692b99171e38acc0b8a162bab4a5f3f5641aeb9 (patch)
tree839411cb304dd6ada05fef9780a994a3d7f3aa8b /src/ui/widgets/ExportKeyPackageDialog.cpp
parent<doc, refactor>(ci): Tidy up code of core and related parts (diff)
downloadGpgFrontend-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.cpp4
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"));