mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Fix crash in Grooveshark.
Not sure how I end up with this null pointer, but better to always to this sanity check.
This commit is contained in:
parent
3bad88d01e
commit
5e45f59e2c
@ -297,6 +297,7 @@ void GroovesharkService::SearchSongsFinished(QNetworkReply* reply) {
|
||||
task_search_id_ = 0;
|
||||
|
||||
// Fill results list
|
||||
if (!search_) return;
|
||||
for (const Song& song : songs) {
|
||||
QStandardItem* child = CreateSongItem(song);
|
||||
search_->appendRow(child);
|
||||
|
Loading…
Reference in New Issue
Block a user