diff --git a/src/songinfo/echonestimages.cpp b/src/songinfo/echonestimages.cpp index 08cfe4398..ce13645a8 100644 --- a/src/songinfo/echonestimages.cpp +++ b/src/songinfo/echonestimages.cpp @@ -125,7 +125,9 @@ void EchoNestImages::DoSpotifyImageRequest(const QString& id, int request_id) { return (a.second.height() * a.second.width()) < (b.second.height() * b.second.width()); }); - emit ImageReady(request_id, image_urls.last().first); + if (!image_urls.isEmpty()) { + emit ImageReady(request_id, image_urls.last().first); + } }); }