diff options
author | Saturneric <[email protected]> | 2022-01-02 07:07:19 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-02 07:07:19 +0000 |
commit | 0f464081971569d9ec6f621cfecdb39a5b8ee2b9 (patch) | |
tree | 74ee8b9e83cb599b8b16cadb72ef9621bfc37814 /src/ui/widgets/InfoBoardWidget.cpp | |
parent | <refactor, fixed, test>(core, ui): add & modify core and ui (diff) | |
download | GpgFrontend-0f464081971569d9ec6f621cfecdb39a5b8ee2b9.tar.gz GpgFrontend-0f464081971569d9ec6f621cfecdb39a5b8ee2b9.zip |
<feat, refactor, fixed>(core, ui): add & modify file operations
1. add non ascii mode for file operations.
2. the suffix of normalized file encryption.
3. refactor general settings.
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.cpp')
-rw-r--r-- | src/ui/widgets/InfoBoardWidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp index d46d5f92..7718cba3 100644 --- a/src/ui/widgets/InfoBoardWidget.cpp +++ b/src/ui/widgets/InfoBoardWidget.cpp @@ -35,7 +35,6 @@ InfoBoardWidget::InfoBoardWidget(QWidget* parent) ui->setupUi(this); ui->actionButtonLayout->addStretch(); - ui->actionLabel->setText(_("InfoBoard's Actions Menu")); ui->copyButton->setText(_("Copy")); ui->saveButton->setText(_("Save File")); ui->clearButton->setText(_("Clear")); @@ -163,7 +162,7 @@ void InfoBoardWidget::slotSave() { auto file_path = QFileDialog::getSaveFileName( this, _("Save Information Board's Content"), {}, tr("Text (*.txt)")); LOG(INFO) << "file path" << file_path.toStdString(); - if(file_path.isEmpty()) return; + if (file_path.isEmpty()) return; QFile file(file_path); if (file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { |