From 3b89b43f097342bc76ab7b235f9649077a87deff Mon Sep 17 00:00:00 2001 From: Méven Car Date: Thu, 22 Jan 2026 17:02:34 +0100 Subject: clang-tidy: fix unecessary-value-param --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index dc3829d37..2ad1cc8e3 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -200,7 +200,7 @@ DolphinMainWindow::DolphinMainWindow() connect(this, &DolphinMainWindow::urlChanged, m_remoteEncoding, &DolphinRemoteEncoding::slotAboutToOpenUrl); m_disabledActionNotifier = new DisabledActionNotifier(this); - connect(m_disabledActionNotifier, &DisabledActionNotifier::disabledActionTriggered, this, [this](const QAction *, QString reason) { + connect(m_disabledActionNotifier, &DisabledActionNotifier::disabledActionTriggered, this, [this](const QAction *, const QString &reason) { m_activeViewContainer->showMessage(reason, KMessageWidget::Warning); }); -- cgit v1.3