[plasma/libkscreen/Plasma/6.7] src: fix: emit edrPolicyChanged() instead of getter in setEdrPolicy()

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit e20f0f0dae4e89d51f74ecf88c6f862dd65e0992 by Vlad Zahorodnii.
Committed on 22/07/2026 at 06:48.
Pushed by vladz into branch 'Plasma/6.7'.

fix: emit edrPolicyChanged() instead of getter in setEdrPolicy()


(cherry picked from commit fd97ca712363a655a8b3e43760015d531b005572)

Co-authored-by: zhang shoucheng <[email protected]>

M  +1    -1    src/output.cpp

https://invent.kde.org/plasma/libkscreen/-/commit/e20f0f0dae4e89d51f74ecf88c6f862dd65e0992

diff --git a/src/output.cpp b/src/output.cpp
index 0419a392..c52e8b7d 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -1058,7 +1058,7 @@ void Output::setEdrPolicy(EdrPolicy policy)
 {
     if (d->edrPolicy != policy) {
         d->edrPolicy = policy;
-        Q_EMIT edrPolicy();
+        Q_EMIT edrPolicyChanged();
     }
 }
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.