┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2025-01-07 19:06:03 +0100
committerMéven Car <[email protected]>2025-01-07 19:06:03 +0100
commit67c045c768f961cfe072d31555463817cdfbae93 (patch)
tree6539b27d1d44bb562311a31123d939c09a59a0de
parent65f095b81f9df7846d13a581a63757eb7c71ade8 (diff)
dolphinpart: fix a warning around = in lambdas for this
being deprecated in C++20.
-rw-r--r--src/dolphinpart.cpp2
1 files changed, 1 insertions, 1 deletions
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();