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

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 39d7057ac573eae7442d7b4a7921208de07a7087 by Nate Graham.
Committed on 17/08/2026 at 19:36.
Pushed by ngraham into branch 'Plasma/6.6'.

shell/scripting: fix setOpacity calling wrong method


(cherry picked from commit 0c85cad8a88e2bdbaf08ee10f4e1ec844cc9519f)

Co-authored-by: Luis Bocanegra <[email protected]>

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/39d7057ac573eae7442d7b4a7921208de07a7087

diff --git a/shell/scripting/panel.cpp b/shell/scripting/panel.cpp
index 34c0105ef5..f0a8236229 100644
--- a/shell/scripting/panel.cpp
+++ b/shell/scripting/panel.cpp
@@ -392,7 +392,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.