summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archiveview.cpp')
-rw-r--r--archiveview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiveview.cpp b/archiveview.cpp
index ab64a5f..8d58f68 100644
--- a/archiveview.cpp
+++ b/archiveview.cpp
@@ -195,7 +195,7 @@ MetadataEditorWidget::MetadataEditorWidget(QWidget *parent) : QWidget(parent){
commentGBL->addWidget(mComment);
commentGBL->addWidget(reasonGB);
commentGB->setLayout(commentGBL);
- connect(clearB, &QPushButton::clicked, [this] { mComment->clear(); });
+ connect(clearB, &QPushButton::clicked, this, [this] { mComment->clear(); });
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->addWidget(captionL);