Diffusion KWin 52e42df9d626

Clean up kwindecoration KCM qml code

Authored by davidedmundson on Apr 18 2018, 9:57 AM.

Description

Clean up kwindecoration KCM qml code

Summary:
Remove all instances of anchors in a layout.
This is undefined behaviour (even if it happens to work) and results in
a warning in 5.11.

Resulted in some shuffling about, but generally cleaner code.

Visually looks the same

Test Plan:
Added some buttons
Dragged and dropped some buttons out of the top header
Still got my "drop here to remove button" hint with the same opacities

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: kwin, KWin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D12284

Details

Committed
davidedmundsonApr 18 2018, 9:57 AM
Reviewer
Plasma
Differential Revision
D12284: Clean up kwindecoration KCM qml code
Parents
R108:c44788889c50: [platforms/virtual] Make VirtualOutput non-copyable
Branches
Unknown
Tags
Unknown