Same for restore. This is better API as LayoutSaver shouldn't be concerned about QSettings. It also assumed the user only had a single layout, which is normally not the case. And finally, storing escaped json in .ini files is not very elegant.
Same for restore. This is better API as LayoutSaver shouldn't be concerned about QSettings. It also assumed the user only had a single layout, which is normally not the case. And finally, storing escaped json in .ini files is not very elegant.