Skip to content

(cherry-pick) Screenpool: avoid uniqueConnection with lambda

David Edmundson requested to merge work/cherry-pick-253034f3 into Plasma/5.27

Handling QScreen geometryChanged was connected to a lambda with a unique connection. Qt cannot determine this and doesn't connect.

The unique connection was used as handleScreenAdded is also called when the output order changed to handle things being async.

This patch shuffles the code so we only connect once which is cleaner anyway.

CCBUG: 466312 CCBUG: 466020

(cherry picked from commit 253034f3)

Merge request reports

Loading