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

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 90bf3324c8c4971345cce72a63635d46fe6ceb6e by Nate Graham.
Committed on 17/08/2026 at 21:17.
Pushed by ngraham into branch 'Plasma/6.7'.

🍒 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/90bf3324c8c4971345cce72a63635d46fe6ceb6e

diff --git a/shell/scripting/panel.cpp b/shell/scripting/panel.cpp
index 7a3376a5b4..f7e9b3d7d8 100644
--- a/shell/scripting/panel.cpp
+++ b/shell/scripting/panel.cpp
@@ -390,7 +390,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.