AlbumCoverLoader: Remove const

This commit is contained in:
Jonas Kvinge 2024-08-25 01:16:29 +02:00
parent 3f3059c98b
commit b964385024
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void AlbumCoverLoader::CancelTasks(const QSet<quint64> &ids) {
QMutexLocker l(&mutex_load_image_async_);
for (QQueue<TaskPtr>::iterator it = tasks_.begin(); it != tasks_.end();) {
const TaskPtr task = *it;
TaskPtr task = *it;
if (ids.contains(task->id)) {
it = tasks_.erase(it);
}