AlbumCoverManager: Fix invalid reference
This commit is contained in:
parent
b52ffd09b2
commit
60d7a4e7ee
|
@ -748,7 +748,7 @@ void AlbumCoverManager::LoadCoverFromURL() {
|
||||||
Song song = GetSingleSelectionAsSong();
|
Song song = GetSingleSelectionAsSong();
|
||||||
if (!song.is_valid()) return;
|
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()) {
|
if (result.is_valid()) {
|
||||||
SaveImageToAlbums(&song, result);
|
SaveImageToAlbums(&song, result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue