1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-15 02:11:35 +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());
}
else {
if (songs_.isEmpty() && errors_.isEmpty())
if (songs_.isEmpty() && errors_.isEmpty()) {
emit Results(songs_.values(), tr("Unknown error"));
else
}
else {
emit Results(songs_.values(), ErrorsToHTML(errors_));
}
}
}