mirror of
https://github.com/KDE/kasts.git
synced 2025-01-12 16:44:14 +01:00
Fix author string.
This commit is contained in:
parent
40cddbc8a5
commit
9e29d7aa42
@ -59,8 +59,9 @@ void MediaSessionClient::setSessionMetadata()
|
||||
QString authorString = QStringLiteral("");
|
||||
if (entry->authors().count() > 0) {
|
||||
for (auto &author : entry->authors()) {
|
||||
authorString.append(QStringLiteral(", "));
|
||||
authorString.append(author->name());
|
||||
(entry->authors().count > 1)
|
||||
authorString.append(QStringLiteral(", "));
|
||||
}
|
||||
}
|
||||
QAndroidJniObject title = QAndroidJniObject::fromString(entry->title());
|
||||
|
Loading…
Reference in New Issue
Block a user