Skip to content

Main: Use KConfig.WindowStateSaver to store window geometry

This MR allows Kongress to store window geometry using `KConfig.WindowStateSaver`. Currently Kongress does not store window geometry, but it seems desired to do so (most KDE applications specifically will store geometry, though not all). Using `KConfig.WindowStateSaver` to do so seems like the natural approach.

If this functionality is not desired, feel free to close this MR. 🙂

Note: `KConfig.WindowStateSaver` does not currently store window maximized state. As Kongress does not currently store any window geometry or state information, no regression would be introduced, but it should be noted that once the window maximized state is handled by `KConfig.WindowStateSaver`, this will follow on to Kongress.

Merge request reports