aboutsummaryrefslogtreecommitdiff
path: root/launcher/news
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-06-25 20:14:27 -0300
committerflow <flowlnlnln@gmail.com>2022-06-25 20:14:27 -0300
commit4e319254dd654bd12af5c89292905f35ef25fa20 (patch)
treea7250b731fa333acb8038f4c6cb6d438f164a9b8 /launcher/news
parent03e454b71d83aebbb534c5734ccd9093842da28c (diff)
downloadPrismLauncher-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.cpp2
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;