fix: use right name for the content of a News entry

This commit is contained in:
flow 2022-06-25 20:14:27 -03:00
parent 03e454b71d
commit 4e319254dd
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -54,7 +54,7 @@ inline QString childValue(const QDomElement& element, const QString& childName,
bool NewsEntry::fromXmlElement(const QDomElement& element, NewsEntry* entry, QString* errorMsg)
{
QString title = childValue(element, "title", tr("Untitled"));
QString content = childValue(element, "description", tr("No content."));
QString content = childValue(element, "content", tr("No content."));
QString link = childValue(element, "id");
entry->title = title;