[plasma/plasma-workspace] interactiveconsole: interactiveconsole: Fix loading templates

Tobias Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit cf8f8b9cd82875bb8e39b64db74194e9b6fa63a0 by Tobias Fella.
Committed on 10/08/2026 at 12:54.
Pushed by tfella into branch 'master'.

interactiveconsole: Fix loading templates

M  +1    -1    interactiveconsole/interactiveconsole.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/cf8f8b9cd82875bb8e39b64db74194e9b6fa63a0

diff --git a/interactiveconsole/interactiveconsole.cpp b/interactiveconsole/interactiveconsole.cpp
index 0ac6df4e32..451d0075b6 100644
--- a/interactiveconsole/interactiveconsole.cpp
+++ b/interactiveconsole/interactiveconsole.cpp
@@ -372,7 +372,7 @@ void InteractiveConsole::populateTemplatesMenu()
 {
     m_snippetsMenu->clear();
     auto templates = KPackage::PackageLoader::self()->findPackages(QStringLiteral("Plasma/LayoutTemplate"), QString(), [](const KPluginMetaData &metaData) {
-        return metaData.value(u"X-Plasma-Shell") == qApp->applicationName();
+        return metaData.value(u"X-Plasma-Shell") == u"plasmashell"_s;
     });
     std::ranges::sort(templates, [](const KPluginMetaData &left, const KPluginMetaData &right) {
         return left.name() < right.name();
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.