[graphics/digikam] core/libs/models: cppcheck++

Gilles Caulier <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 86fea759744fb7db633d119bd2c9276f1959a664 by Gilles Caulier.
Committed on 18/08/2026 at 08:37.
Pushed by cgilles into branch 'master'.

cppcheck++

M  +3    -3    core/libs/models/abstractalbummodel.cpp

https://invent.kde.org/graphics/digikam/-/commit/86fea759744fb7db633d119bd2c9276f1959a664

diff --git a/core/libs/models/abstractalbummodel.cpp b/core/libs/models/abstractalbummodel.cpp
index 0b7dec78c4..a443786210 100644
--- a/core/libs/models/abstractalbummodel.cpp
+++ b/core/libs/models/abstractalbummodel.cpp
@@ -500,7 +500,7 @@ bool AbstractAlbumModel::filterAlbum(Album* album) const
     return (album && (album->type() == d->type));
 }
 
-void AbstractAlbumModel::slotAlbumAboutToBeAdded(Album* album, Album* parent, Album* prev)
+void AbstractAlbumModel::slotAlbumAboutToBeAdded(Album* album, Album* parent, Album* prev)  // cppcheck-suppress constParameterCallback
 {
     if (!filterAlbum(album))
     {
@@ -534,7 +534,7 @@ void AbstractAlbumModel::slotAlbumAboutToBeAdded(Album* album, Album* parent, Al
     d->addingAlbum = album;
 }
 
-void AbstractAlbumModel::slotAlbumAdded(Album* album)
+void AbstractAlbumModel::slotAlbumAdded(Album* album)   // cppcheck-suppress constParameterCallback
 {
     if (d->addingAlbum == album)
     {
@@ -576,7 +576,7 @@ void AbstractAlbumModel::slotAlbumAboutToBeDeleted(Album* album)
     d->removingAlbum = album;
 }
 
-void AbstractAlbumModel::slotAlbumHasBeenDeleted(Album* album)
+void AbstractAlbumModel::slotAlbumHasBeenDeleted(Album* album)  // cppcheck-suppress constParameterCallback
 {
     if (d->removingAlbum == album)
     {
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.