Set Unknown error if error is missing in Subsonic too
This commit is contained in:
@@ -722,8 +722,16 @@ void SubsonicRequest::FinishCheck() {
|
|||||||
album_covers_received_ >= album_covers_requested_
|
album_covers_received_ >= album_covers_requested_
|
||||||
) {
|
) {
|
||||||
finished_ = true;
|
finished_ = true;
|
||||||
if (no_results_) emit Results(SongList(), QString());
|
if (no_results_ && songs_.isEmpty()) {
|
||||||
else emit Results(songs_, errors_);
|
emit Results(SongList(), QString());
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (songs_.isEmpty() && errors_.isEmpty())
|
||||||
|
emit Results(songs_, tr("Unknown error"));
|
||||||
|
else
|
||||||
|
emit Results(songs_, errors_);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user