diff options
author | Nate Graham <nate@kde.org> | 2021-02-02 10:10:55 -0700 |
---|---|---|
committer | Nate Graham <nate@kde.org> | 2021-02-02 19:39:34 -0700 |
commit | 7766259eb5287d11d2ef60b50da9255b1307df3c (patch) | |
tree | c0584a5ebbea507e3341f80b2af8a71e6cb97ccd /src/kconfig_compiler | |
parent | b57c7ad9acf45928a6debefcd432cc50432fefdb (diff) | |
download | kconfig-7766259eb5287d11d2ef60b50da9255b1307df3c.tar.gz kconfig-7766259eb5287d11d2ef60b50da9255b1307df3c.tar.bz2 |
Refactor window geometry save/restore code to be less fragile
This commit refactors the code a bit to define the window geometry
strings in one place and uses a common method to read and write them.
This makes future changes much less fragile and fixes a pre-existing bug
that had gone un-noticed which caused window positions to not be saved
on a per-resolution basis in addition to a per-display-arrangement
basis. Old strings are used if available to that people don't lose their
saved position data the first time they upgrade to KF 5.79.
Diffstat (limited to 'src/kconfig_compiler')
0 files changed, 0 insertions, 0 deletions