From 67c045c768f961cfe072d31555463817cdfbae93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A9ven=20Car?= Date: Tue, 7 Jan 2025 19:06:03 +0100 Subject: [PATCH] dolphinpart: fix a warning around = in lambdas for this being deprecated in C++20. --- src/dolphinpart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index bb27e0a5e..a79b650c5 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -466,7 +466,7 @@ void DolphinPart::openSelectionDialog(const QString &title, const QString &text, dialog->setTextValue(QStringLiteral("*")); - connect(dialog, &QDialog::accepted, this, [=]() { + connect(dialog, &QDialog::accepted, this, [=, this]() { const QString pattern = dialog->textValue(); if (!pattern.isEmpty()) { QStringList items = dialog->comboBoxItems(); -- 2.47.3