From b9643850241beaca2a5e62bb58afb542ca7cf95e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 25 Aug 2024 01:16:29 +0200 Subject: [PATCH] AlbumCoverLoader: Remove const --- src/covermanager/albumcoverloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/covermanager/albumcoverloader.cpp b/src/covermanager/albumcoverloader.cpp index 0e0b3220a..7f9590bfb 100644 --- a/src/covermanager/albumcoverloader.cpp +++ b/src/covermanager/albumcoverloader.cpp @@ -93,7 +93,7 @@ void AlbumCoverLoader::CancelTasks(const QSet &ids) { QMutexLocker l(&mutex_load_image_async_); for (QQueue::iterator it = tasks_.begin(); it != tasks_.end();) { - const TaskPtr task = *it; + TaskPtr task = *it; if (ids.contains(task->id)) { it = tasks_.erase(it); }