Make sure album_id is not null

This commit is contained in:
Jonas Kvinge 2019-06-22 08:33:16 +02:00
parent 84b3603c08
commit 5bd5cdf435
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ bool Song::is_unavailable() const { return d->unavailable_; }
int Song::id() const { return d->id_; }
qint64 Song::artist_id() const { return d->artist_id_; }
QString Song::album_id() const { return d->album_id_; }
QString Song::album_id() const { return d->album_id_.isNull() ? "" : d->album_id_; }
qint64 Song::song_id() const { return d->song_id_; }
const QString &Song::title() const { return d->title_; }