[plasma/plasma-workspace] shell/scripting: shell/scripting: fix setOpacity calling wrong method

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d4ffb8cd640aa23d16183e981cea5519391a034b by Nate Graham, on behalf of Luis Bocanegra.
Committed on 17/08/2026 at 18:47.
Pushed by ngraham into branch 'master'.

shell/scripting: fix setOpacity calling wrong method

M  +1    -1    shell/scripting/panel.cpp

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

diff --git a/shell/scripting/panel.cpp b/shell/scripting/panel.cpp
index 658e9c4775..b60a3f4275 100644
--- a/shell/scripting/panel.cpp
+++ b/shell/scripting/panel.cpp
@@ -408,7 +408,7 @@ void Panel::setOpacity(const QString &mode)
     }
 
     if (panel()) {
-        panel()->setOpacity(opacityMode);
+        panel()->setOpacityMode(opacityMode);
     } else {
         panelConfig().parent().writeEntry("panelOpacity", (int)opacityMode);
     }
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.