diff options
| author | Méven Car <[email protected]> | 2025-01-07 19:06:03 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-01-07 19:06:03 +0100 |
| commit | 67c045c768f961cfe072d31555463817cdfbae93 (patch) | |
| tree | 6539b27d1d44bb562311a31123d939c09a59a0de | |
| parent | 65f095b81f9df7846d13a581a63757eb7c71ade8 (diff) | |
dolphinpart: fix a warning around = in lambdas for this
being deprecated in C++20.
| -rw-r--r-- | src/dolphinpart.cpp | 2 |
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(); |
