Display a stream's URL if it lacks a title (#5333)
This commit is contained in:
parent
1ade25e9f3
commit
0451240df8
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user