diff options
author | Wynn Wolf Arbor | 2019-10-30 19:11:16 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-02-04 14:33:13 +0100 |
commit | 00702a3b764139a28b4de89f48ec1e38f1c58150 (patch) | |
tree | 8ab9563b3d462a60335ec489d2371df474201d0d /po/weltschmerz.pot | |
parent | f72f05cd8e157e5f433dca21de2a8d7fb2411436 (diff) | |
download | weltschmerz-00702a3b764139a28b4de89f48ec1e38f1c58150.tar.gz |
Improve configuration handling
This commit improves and simplifies weltschmerz's configuration
handling. Obtaining and parsing the KeyFile is split out into
ConfigReader, which is fully agnostic of the specific configuration
values.
Config now contains all configuration values in the form of primitive
types or class instances, and no longer delegates access to the KeyFile
structure directly. This means that the configuration file is read once,
and then kept in the Config instance.
Indirectly this commit also fixes a bug where weltschmerz would segfault
if one of the palette entries contained an invalid value.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions