Display a stream's URL if it lacks a title (#5333)

This commit is contained in:
Santiago Gil 2016-04-18 11:20:07 -03:00 committed by John Maguire
parent 1ade25e9f3
commit 0451240df8
1 changed files with 1 additions and 3 deletions

View File

@ -1035,9 +1035,7 @@ QString Song::PrettyTitle() const {
}
QString Song::PrettyTitleWithArtist() const {
QString title(d->title_);
if (title.isEmpty()) title = d->basefilename_;
QString title(PrettyTitle());
if (!d->artist_.isEmpty()) title = d->artist_ + " - " + title;