AlbumCoverManager: Fix invalid reference

This commit is contained in:
Jonas Kvinge 2023-05-29 11:24:41 +02:00
parent b52ffd09b2
commit 60d7a4e7ee
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ void AlbumCoverManager::LoadCoverFromURL() {
Song song = GetSingleSelectionAsSong();
if (!song.is_valid()) return;
const AlbumCoverImageResult &result = album_cover_choice_controller_->LoadImageFromURL();
const AlbumCoverImageResult result = album_cover_choice_controller_->LoadImageFromURL();
if (result.is_valid()) {
SaveImageToAlbums(&song, result);
}