https://bugs.kde.org/show_bug.cgi?id=466312

--- Comment #15 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 3164e1367122245dda4a3a4d95cbcb623e8168a2 by David Edmundson.
Committed on 13/03/2023 at 17:03.
Pushed by davidedmundson into branch 'Plasma/5.27'.

Screenpool: avoid uniqueConnection with lambda

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.
(I don't think that's actually needed, but that's a refactor for another
thread)

This patch shuffles the code so we only connect once which is cleaner
anyway.
Related: bug 466020


(cherry picked from commit 253034f3da5b89d70b5946665c5f8f5011013896)

M  +21   -11   shell/screenpool.cpp
M  +1    -0    shell/screenpool.h

https://invent.kde.org/plasma/plasma-workspace/commit/3164e1367122245dda4a3a4d95cbcb623e8168a2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to