[multimedia/kasts] src/qml: Use an empty string as placeholder explanation

Bart De Vries <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 35c86d0d396354c53c0289e3a990c3d1c7da053f by Bart De Vries, on behalf of Tobias Fella.
Committed on 03/08/2026 at 08:24.
Pushed by bdevries into branch 'master'.

Use an empty string as placeholder explanation

null shows up as "null"

M  +1    -1    src/qml/FeedListGridView.qml

https://invent.kde.org/multimedia/kasts/-/commit/35c86d0d396354c53c0289e3a990c3d1c7da053f

diff --git a/src/qml/FeedListGridView.qml b/src/qml/FeedListGridView.qml
index aeccd8b9..ea8f1e19 100644
--- a/src/qml/FeedListGridView.qml
+++ b/src/qml/FeedListGridView.qml
@@ -32,7 +32,7 @@ GridView {
         anchors.centerIn: parent
         type: feedsModel.searchFilter === "" ? Kirigami.PlaceholderMessage.Actionable : Kirigami.PlaceholderMessage.Informational
         text: feedsModel.searchFilter === "" ? KI18n.i18nc("@info Placeholder message for empty podcast list", "No podcasts added yet") : KI18n.i18nc("@info Placeholder message for podcast list when no podcast matches the search criteria", "No podcasts found")
-        explanation: feedsModel.searchFilter === "" ? KI18n.i18nc("@info:tipoftheday", "Get started by adding podcasts:") : null
+        explanation: feedsModel.searchFilter === "" ? KI18n.i18nc("@info:tipoftheday", "Get started by adding podcasts:") : ""
 
         readonly property int buttonSize: Math.max(discoverButton.implicitWidth, addButton.implicitWidth, importButton.implicitWidth, syncButton.implicitWidth)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.