[plasma/kwin] src/core: core/backendoutput: don't emit scaleSettingChanged twice
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 720b0aa090d8c7fbb978de5c3dd0901140784bc2 by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 03/08/2026 at 07:17.
Pushed by vladz into branch 'master'.
core/backendoutput: don't emit scaleSettingChanged twice
The signal is currently emitted twice whenever the scale setting
changes.
M +0 -3 src/core/backendoutput.cpp
https://invent.kde.org/plasma/kwin/-/commit/720b0aa090d8c7fbb978de5c3dd0901140784bc2
diff --git a/src/core/backendoutput.cpp b/src/core/backendoutput.cpp
index f74ecd1ff81..da373936d08 100644
--- a/src/core/backendoutput.cpp
+++ b/src/core/backendoutput.cpp
@@ -410,9 +410,6 @@ void BackendOutput::setState(const State &state)
if (oldState.scale != state.scale) {
Q_EMIT scaleChanged();
}
- if (oldState.scaleSetting != state.scaleSetting) {
- Q_EMIT scaleSettingChanged();
- }
if (oldState.modes != state.modes) {
Q_EMIT modesChanged();
}