[PATCH] Don't manually call reverseTwinsChanged when destructing FormLayout
authorNicolas Fella <nicolas.fella@gmx.de>
Thu, 14 Jan 2021 14:23:39 +0000 (15:23 +0100)
committerNorbert Preining <norbert@preining.info>
Fri, 22 Jan 2021 15:01:33 +0000 (15:01 +0000)
commit7f443411aafa5b736925c5b0dd39e8290a4709df
tree0806cc2d88a23679947b4ccd8ce58527fa83c9d6
parente49718f7b42a11b3321dbf3c72f6a2d09ef0cf6c
[PATCH] Don't manually call reverseTwinsChanged when destructing FormLayout

This line causes a crash when destructing the screenlocker KCM.
It doesn't seem to be caused by reverseTwinsChanged itself but rather by
accessing the Qt object. I don't fully undestand the root cause.

However the call itself appears to be unnecessary since in the line
above we write to reverseTwins and that triggers the changed signal if
needed.

BUG: 431419
BUG: 428461

Gbp-Pq: Name upstream-b4a6c562-dont-manually-call-reverseTwinChanged-when-destructing-FormLayout.patch
src/controls/FormLayout.qml