[utilities/powerplant] /: Small Improvements and a bug fix

Carl Schwan <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit fb7c72350360600729c1ac5ce30cccaa51fe5ed3 by Carl Schwan, on behalf of Michael Rostom.
Committed on 22/07/2026 at 06:21.
Pushed by carlschwan into branch 'master'.

Small Improvements and a bug fix

* Update the README flatpak build command to the correct json file
* Category already in desktop file no need for the comment
* Update copyright to 2026
* Added homepage in about page
* Set the program logo in about page, this fixes the logo missing from Android, BUG: 523304
* Separator now shown in all cases (I don't know why it was set only when creating a plant)

M  +1    -1    README.md
M  +0    -2    org.kde.powerplant.desktop
M  +9    -2    src/main.cpp
M  +1    -3    src/qml/PlantEditorPage.qml

https://invent.kde.org/utilities/powerplant/-/commit/fb7c72350360600729c1ac5ce30cccaa51fe5ed3

diff --git a/README.md b/README.md
index 2ba96d5..933792f 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ An app to keep track of your plant's needs
 
 ### Flatpak Builder (with KDE Sdk)
 ```
-flatpak-builder tmp --force-clean --ccache --install --user org.kde.powerplant.json
+flatpak-builder tmp --force-clean --ccache --install --user .flatpak-manifest.json
 ```
 ### CMake
 ```
diff --git a/org.kde.powerplant.desktop b/org.kde.powerplant.desktop
index eebeaad..8f634eb 100644
--- a/org.kde.powerplant.desktop
+++ b/org.kde.powerplant.desktop
@@ -70,6 +70,4 @@ Exec=powerplant
 Icon=org.kde.powerplant
 Type=Application
 Terminal=false
-# Add an actual main category here (and possibly applicable additional ones)
-#   https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry
 Categories=Qt;KDE;Utility
diff --git a/src/main.cpp b/src/main.cpp
index f6a846a..c099fb8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -73,9 +73,16 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
         // The license this code is released under.
         KAboutLicense::GPL,
         // Copyright Statement.
-        i18n("© 2023-2024 Mathis Brüchert"));
-    aboutData.addAuthor(i18nc("@info:credit", "Mathis Brüchert"), i18nc("@info:credit", "Author"), QStringLiteral("[email protected]"));
+        i18n("© 2023-2025 Mathis Brüchert, © 2025-2026 KDE Community"),
+        // Additional Text
+        QString(),
+        // Link to homepage
+        QStringLiteral("https://apps.kde.org/powerplant/"));
+
+    aboutData.addAuthor(i18nc("@info:credit", "Mathis Brüchert"), i18nc("@info:credit", "Author, 2023-2025"), QStringLiteral("[email protected]"));
+
     aboutData.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
+    aboutData.setProgramLogo(QIcon::fromTheme(QStringLiteral("org.kde.powerplant")));
     KAboutData::setApplicationData(aboutData);
 #if HAVE_KCRASH
     KCrash::initialize();
diff --git a/src/qml/PlantEditorPage.qml b/src/qml/PlantEditorPage.qml
index 5261843..54f87cf 100644
--- a/src/qml/PlantEditorPage.qml
+++ b/src/qml/PlantEditorPage.qml
@@ -248,9 +248,7 @@ FormCard.FormCardPage {
             }
         }
 
-        FormCard.FormDelegateSeparator {
-            visible: root.mode === PlantEditor.Creator
-        }
+        FormCard.FormDelegateSeparator {}
         FormCard.AbstractFormDelegate {
             id: fertilizerIntervalDelegate
             background: null
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.