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

zhang shoucheng <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit fd97ca712363a655a8b3e43760015d531b005572 by zhang shoucheng.
Committed on 22/07/2026 at 01:59.
Pushed by vladz into branch 'master'.

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

M  +1    -1    src/output.cpp

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

diff --git a/src/output.cpp b/src/output.cpp
index a4c17965..38340525 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -1057,7 +1057,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.