Skip to content

positioner: Make sure we check deferMovePositions exist

Akseli Lahtinen requested to merge work/cherry-pick-e82c44ef into Plasma/6.2

Checking m_deferMovePositions.count() seems to be always true, even when its empty.

Make sure we check the size is more than 0 so we don't move items around without any reason to do so.

We also do not emit positionsChanged if we have not even touched the positions, to avoid deleting old configuration

CCBUG:493569

(cherry picked from commit e82c44ef)

ff93aa2c positioner: Make sure we check deferMovePositions exist 5326625b Only update positions if we have actually touched them

Co-authored-by: Akseli Lahtinen akselmo@akselmo.dev

Merge request reports

Loading