[plasma/plasma-workspace] shell: Drop unused refreshCurrentShell method

Nicolas Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f1090600d0c04f21d88cef7289d3a998017dab10 by Nicolas Fella.
Committed on 24/07/2026 at 10:58.
Pushed by nicolasfella into branch 'master'.

Drop unused refreshCurrentShell method

This is unused since dropping ShellPackage integration from LnF

M  +0    -1    shell/dbus/org.kde.PlasmaShell.xml
M  +0    -7    shell/shellcorona.cpp
M  +0    -2    shell/shellcorona.h

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

diff --git a/shell/dbus/org.kde.PlasmaShell.xml b/shell/dbus/org.kde.PlasmaShell.xml
index fcdfcd7ee2..2a237e9d7a 100644
--- a/shell/dbus/org.kde.PlasmaShell.xml
+++ b/shell/dbus/org.kde.PlasmaShell.xml
@@ -33,7 +33,6 @@
     </method>
     <method name="activateLauncherMenu">
     </method>
-    <method name="refreshCurrentShell" />
 
     <method name="wallpaper">
       <arg name="screenNum" type="u" direction="in"/>
diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp
index 7738db545b..5d2c8d51af 100644
--- a/shell/shellcorona.cpp
+++ b/shell/shellcorona.cpp
@@ -2985,13 +2985,6 @@ QString ShellCorona::defaultShell()
     return value.isEmpty() ? defaultValue : value;
 }
 
-void ShellCorona::refreshCurrentShell()
-{
-    KSharedConfig::openConfig(QStringLiteral("plasmashellrc"))->reparseConfiguration();
-    //  FIXME:   setShell(defaultShell());
-    QProcess::startDetached(u"plasmashell"_s, {u"--replace"_s});
-}
-
 bool ShellCorona::grabContainmentImage(const QString &name, int width, int height, const QString &targetPath)
 {
     Q_ASSERT(calledFromDBus());
diff --git a/shell/shellcorona.h b/shell/shellcorona.h
index 9dbfb8c3a6..fe6cef54a8 100644
--- a/shell/shellcorona.h
+++ b/shell/shellcorona.h
@@ -236,8 +236,6 @@ public Q_SLOTS:
         return m_panelViews.count();
     }
 
-    void refreshCurrentShell();
-
 protected Q_SLOTS:
     /**
      * Loads the layout and performs the needed checks
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.