From 856119c5a43b4781b051b93a0713c152cfd99f85 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 15 Apr 2022 13:27:34 +0200 Subject: Make it run with Qt6 This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store... --- archiveview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiveview.cpp') 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); -- cgit v1.2.3-70-g09d2