KFileWidget: Save places panel width also after hiding panel
Summary:
In certain situations the user-set width of the places panel was not
remembered.
As placesViewWidth is initialized by configGroup.readEntry and
updated in reaction to user actions, it makes sense to also save the
same variable back to the config file, instead of looking directly at
the placesViewSplitter.
Depends on D12592
Ref T8552
FIXED-IN: 5.46
Test Plan:
kdialog --getopenfilename, change width of places panel, hide places
panel with F9, close dialog by clicking on Cancel, reopen
dialog, close dialog a second time, reopen dialog, press F9 again
and check that previously set width is restored.
Reviewers: Frameworks, ngraham
Reviewed By: ngraham
Subscribers: ngraham, elvisangelaccio
Tags: Frameworks
Maniphest Tasks: T8552
Differential Revision: https://phabricator.kde.org/D12593