Update src/context/contextview.cpp

Co-authored-by: Jonas Kvinge <jonas@jkvinge.net>
This commit is contained in:
Célestin Matte 2024-03-12 11:54:58 +01:00 committed by GitHub
parent f121577809
commit 2ea3bf3481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ void ContextView::UpdateLyrics(const quint64 id, const QString &provider, const
if (static_cast<qint64>(id) != lyrics_id_) return;
if (lyrics == nullptr) {
if (lyrics.isEmpty()) {
lyrics_ = "\n\nLyrics not found.\n";
} else {
lyrics_ = lyrics + "\n\n(Lyrics from " + provider + ")\n";