aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/details/VerifyDetailsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/details/VerifyDetailsDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/details/VerifyDetailsDialog.cpp b/src/ui/details/VerifyDetailsDialog.cpp
index acd829ee..14407396 100644
--- a/src/ui/details/VerifyDetailsDialog.cpp
+++ b/src/ui/details/VerifyDetailsDialog.cpp
@@ -52,7 +52,7 @@ void VerifyDetailsDialog::slot_refresh() {
// Button Box for close button
button_box_ = new QDialogButtonBox(QDialogButtonBox::Close);
- connect(button_box_, SIGNAL(rejected()), this, SLOT(close()));
+ connect(button_box_, &QDialogButtonBox::rejected, this, &VerifyDetailsDialog::close);
mVboxLayout->addWidget(new QLabel(QString::fromStdString(
std::string(_("Status")) + ": " + gpgme_strerror(error_))));