Changeset View
Changeset View
Standalone View
Standalone View
src/dialogs/certificatedetailswidget.cpp
Show First 20 Lines • Show All 574 Lines • ▼ Show 20 Line(s) | |||||
575 | GpgME::Key CertificateDetailsWidget::key() const | 575 | GpgME::Key CertificateDetailsWidget::key() const | ||
576 | { | 576 | { | ||
577 | return d->key; | 577 | return d->key; | ||
578 | } | 578 | } | ||
579 | 579 | | |||
580 | CertificateDetailsDialog::CertificateDetailsDialog(QWidget *parent) | 580 | CertificateDetailsDialog::CertificateDetailsDialog(QWidget *parent) | ||
581 | : QDialog(parent) | 581 | : QDialog(parent) | ||
582 | { | 582 | { | ||
583 | setWindowTitle(i18n("Certificate Details")); | 583 | setWindowTitle(i18nc("@title:window", "Certificate Details")); | ||
584 | auto l = new QVBoxLayout(this); | 584 | auto l = new QVBoxLayout(this); | ||
585 | l->addWidget(new CertificateDetailsWidget(this)); | 585 | l->addWidget(new CertificateDetailsWidget(this)); | ||
586 | 586 | | |||
587 | auto bbox = new QDialogButtonBox(this); | 587 | auto bbox = new QDialogButtonBox(this); | ||
588 | auto btn = bbox->addButton(QDialogButtonBox::Close); | 588 | auto btn = bbox->addButton(QDialogButtonBox::Close); | ||
589 | connect(btn, &QPushButton::pressed, this, &QDialog::accept); | 589 | connect(btn, &QPushButton::pressed, this, &QDialog::accept); | ||
590 | l->addWidget(bbox); | 590 | l->addWidget(bbox); | ||
591 | readConfig(); | 591 | readConfig(); | ||
Show All 38 Lines |