1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-15 10:14:43 +01:00

Subsonic: Minor code style fix

This commit is contained in:
Jonas Kvinge 2021-09-05 21:46:41 +02:00
parent 9ac7518156
commit 2280a30ba9

View File

@ -870,10 +870,12 @@ 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_));
}
} }
} }