fix: use right name for the content of a News entry
This commit is contained in:
parent
03e454b71d
commit
4e319254dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user