diff options
author | Saturn&Eric <[email protected]> | 2024-01-23 07:21:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-23 07:21:28 +0000 |
commit | 56acf161d439ce73eceaa145c40fe703bb2c3f02 (patch) | |
tree | a5d4790a6b2efc8786a3c0f74a07f5a8032d4e94 /src/ui/widgets/TOFUInfoPage.cpp | |
parent | fix: use more secure cdn links (diff) | |
parent | fix: solve issues on detected gnupg path function and fix linking errors on w... (diff) | |
download | GpgFrontend-56acf161d439ce73eceaa145c40fe703bb2c3f02.tar.gz GpgFrontend-56acf161d439ce73eceaa145c40fe703bb2c3f02.zip |
Merge pull request #126 from saturneric/dev/2.1.1/main
Develop 2.1.2.1
Diffstat (limited to 'src/ui/widgets/TOFUInfoPage.cpp')
-rw-r--r-- | src/ui/widgets/TOFUInfoPage.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/ui/widgets/TOFUInfoPage.cpp b/src/ui/widgets/TOFUInfoPage.cpp index 709a66e1..39cf8921 100644 --- a/src/ui/widgets/TOFUInfoPage.cpp +++ b/src/ui/widgets/TOFUInfoPage.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Saturneric + * Copyright (C) 2021 Saturneric <[email protected]> * * This file is part of GpgFrontend. * @@ -19,27 +19,28 @@ * The initial version of the source code is inherited from * the gpg4usb project, which is under GPL-3.0-or-later. * - * The source code version of this software was modified and released - * by Saturneric<[email protected]><[email protected]> starting on May 12, 2021. + * All the source code of GpgFrontend was modified and released by + * Saturneric <[email protected]> starting on May 12, 2021. + * + * SPDX-License-Identifier: GPL-3.0-or-later * */ #include "TOFUInfoPage.h" GpgFrontend::UI::TOFUInfoPage::TOFUInfoPage( - const GpgFrontend::GpgTOFUInfo &tofu_info, QWidget *parent) + const GpgFrontend::GpgTOFUInfo & /*tofu_info*/, QWidget *parent) : QWidget(parent) { auto grid_layout = new QGridLayout(); - grid_layout->addWidget(new QLabel(QString(_("Key ID")) + ": "), 0, 0); - grid_layout->addWidget(new QLabel(QString(_("Algorithm")) + ": "), 1, 0); - grid_layout->addWidget(new QLabel(QString(_("Key Size")) + ": "), 2, 0); - grid_layout->addWidget(new QLabel(QString(_("Nominal Usage")) + ": "), 3, 0); - grid_layout->addWidget(new QLabel(QString(_("Actual Usage")) + ": "), 4, 0); - grid_layout->addWidget(new QLabel(QString(_("Expires on")) + ": "), 5, 0); - grid_layout->addWidget(new QLabel(QString(_("Last Update")) + ": "), 6, 0); - grid_layout->addWidget(new QLabel(QString(_("Secret Key Existence")) + ": "), - 7, 0); + grid_layout->addWidget(new QLabel(tr("Key ID") + ": "), 0, 0); + grid_layout->addWidget(new QLabel(tr("Algorithm") + ": "), 1, 0); + grid_layout->addWidget(new QLabel(tr("Key Size") + ": "), 2, 0); + grid_layout->addWidget(new QLabel(tr("Nominal Usage") + ": "), 3, 0); + grid_layout->addWidget(new QLabel(tr("Actual Usage") + ": "), 4, 0); + grid_layout->addWidget(new QLabel(tr("Expires on") + ": "), 5, 0); + grid_layout->addWidget(new QLabel(tr("Last Update") + ": "), 6, 0); + grid_layout->addWidget(new QLabel(tr("Secret Key Existence") + ": "), 7, 0); setLayout(grid_layout); } |