diff options
author | flow <flowlnlnln@gmail.com> | 2022-06-25 20:14:27 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-06-25 20:14:27 -0300 |
commit | 4e319254dd654bd12af5c89292905f35ef25fa20 (patch) | |
tree | a7250b731fa333acb8038f4c6cb6d438f164a9b8 /launcher/news | |
parent | 03e454b71d83aebbb534c5734ccd9093842da28c (diff) | |
download | PrismLauncher-4e319254dd654bd12af5c89292905f35ef25fa20.tar.gz PrismLauncher-4e319254dd654bd12af5c89292905f35ef25fa20.tar.bz2 PrismLauncher-4e319254dd654bd12af5c89292905f35ef25fa20.zip |
fix: use right name for the content of a News entry
Diffstat (limited to 'launcher/news')
-rw-r--r-- | launcher/news/NewsEntry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/news/NewsEntry.cpp b/launcher/news/NewsEntry.cpp index 137703d1..cfe07e86 100644 --- a/launcher/news/NewsEntry.cpp +++ b/launcher/news/NewsEntry.cpp @@ -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; |