Subsonic: Minor code style fix

This commit is contained in:
Jonas Kvinge 2021-09-05 21:46:41 +02:00
parent 9ac7518156
commit 2280a30ba9
1 changed files with 4 additions and 2 deletions

View File

@ -870,11 +870,13 @@ void SubsonicRequest::FinishCheck() {
emit Results(SongList(), QString()); emit Results(SongList(), QString());
} }
else { else {
if (songs_.isEmpty() && errors_.isEmpty()) if (songs_.isEmpty() && errors_.isEmpty()) {
emit Results(songs_.values(), tr("Unknown error")); emit Results(songs_.values(), tr("Unknown error"));
else }
else {
emit Results(songs_.values(), ErrorsToHTML(errors_)); emit Results(songs_.values(), ErrorsToHTML(errors_));
} }
}
} }