[graphics/krita/krita/5.2] libs/ui/widgets: BUG: 489477 Fix loading translated news

Halla Rempt null at kde.org
Wed Sep 4 10:33:33 BST 2024


Git commit ecf3f19b51546399f4ce0c2b71f850c7330f0f79 by Halla Rempt.
Committed on 04/09/2024 at 09:33.
Pushed by rempt into branch 'krita/5.2'.

BUG: 489477 Fix loading translated news

So it was index.xml instead of index.html...

CCMAIL:kimageshop at kde.org

(cherry picked from commit a9270593198d569d33862311c13874697e1a5676)

M  +1    -1    libs/ui/widgets/KisNewsWidget.cpp

https://invent.kde.org/graphics/krita/-/commit/ecf3f19b51546399f4ce0c2b71f850c7330f0f79

diff --git a/libs/ui/widgets/KisNewsWidget.cpp b/libs/ui/widgets/KisNewsWidget.cpp
index b1143eb5e21..b54cd959849 100644
--- a/libs/ui/widgets/KisNewsWidget.cpp
+++ b/libs/ui/widgets/KisNewsWidget.cpp
@@ -125,7 +125,7 @@ void KisNewsWidget::toggleNewsLanguage(QString langCode, bool enabled)
         }
     }
 
-    QString feed = QStringLiteral("https://krita.org/%1/index.html").arg(langCode);
+    QString feed = QStringLiteral("https://krita.org/%1/index.xml").arg(langCode);
     if (enabled) {
         m_enabledFeeds.insert(feed);
         if (m_getNews) {


More information about the kimageshop mailing list