[graphics/koko] src: filemenumanager fix build warning "unused parameter [-Wunused-parameter]"

Raresh Rus <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 75f2c56b16da9d7ba8cbe9e3d1859af6e8418da1 by Raresh Rus.
Committed on 09/08/2026 at 14:31.
Pushed by olib into branch 'master'.

filemenumanager fix build warning "unused parameter [-Wunused-parameter]"

M  +1    -1    src/filemenumanager.cpp

https://invent.kde.org/graphics/koko/-/commit/75f2c56b16da9d7ba8cbe9e3d1859af6e8418da1

diff --git a/src/filemenumanager.cpp b/src/filemenumanager.cpp
index ea78b667..f26e559b 100644
--- a/src/filemenumanager.cpp
+++ b/src/filemenumanager.cpp
@@ -465,7 +465,7 @@ void FileMenuManager::updateActions()
                     KIO::FileUndoManager::self()->recordJob(KIO::FileUndoManager::Trash, urls, QUrl(QStringLiteral("trash:/")), job);
 
                     auto trashUrls = std::make_shared<QList<QUrl>>();
-                    connect(job, &KIO::CopyJob::copyingDone, [trashUrls](KIO::Job *job, const QUrl &from, const QUrl &to, const QDateTime &mtime, bool directory, bool renamed) {
+                    connect(job, &KIO::CopyJob::copyingDone, [trashUrls](KIO::Job *, const QUrl &, const QUrl &to, const QDateTime &, bool, bool) {
                         *trashUrls << to;
                     });
                     connect(job, &KJob::finished, [this,trashUrls]() {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.