From 6caf7f356b409ff9f722fde905f1fbf4ed147f16 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Jun 2024 18:12:20 +0200 Subject: [PATCH] SubsonicRequest: Add const --- src/subsonic/subsonicrequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subsonic/subsonicrequest.cpp b/src/subsonic/subsonicrequest.cpp index 37fb00432..01b75525c 100644 --- a/src/subsonic/subsonicrequest.cpp +++ b/src/subsonic/subsonicrequest.cpp @@ -696,7 +696,7 @@ void SubsonicRequest::GetAlbumCovers() { void SubsonicRequest::AddAlbumCoverRequest(const Song &song) { - QUrl cover_url(song.art_automatic()); + const QUrl cover_url = song.art_automatic(); if (!cover_url.isValid()) { return;