D12227 fixes 209559 for the case when the user presses the {nav Cancel} button, but not when the dialog is closed via the Escape key or the titlebar's close button. In order to do that, changes to the QPA plugin are needed. To facilitate it, `KFileWidget` needs a public interface to the `writeViewConfig()` function needs so that the dialog can call it. THis patch does that.