Remove RowLayout from KillDialog DialogButtonBox
Remove RowLayout from KillDialog DialogButtonBox
RowLayout does something which will trigger a crash when the dialogbuttonbox gets destroyed. So instead use the normal layout, calculate the fill width for the checkbox manually. Also remove the workaround for QTBUG-81796 since that was fixed in the meantime.
Cleanup old controller if FaceLoader gets destroyed
Otherwise we can end up leaking the controller
Edited by Arjen Hiemstra