diff options
author | Alexander Lohnau <alexander.lohnau@gmx.de> | 2021-09-14 07:30:32 +0200 |
---|---|---|
committer | Alexander Lohnau <alexander.lohnau@gmx.de> | 2021-09-19 07:50:10 +0200 |
commit | 0b0a4464fb3d1145eb612b1ab7edacfa9581c8c9 (patch) | |
tree | db94f2c4daba14f23e13aa65d55a05257f86ab41 /autotests/kconfig_compiler/test_state_config.kcfg | |
parent | 782750149a0819053d47960fb144f17b7c719d13 (diff) | |
download | kconfig-0b0a4464fb3d1145eb612b1ab7edacfa9581c8c9.tar.gz kconfig-0b0a4464fb3d1145eb612b1ab7edacfa9581c8c9.tar.bz2 |
Allow KConfigXT to use KSharedConfig::openStateConfig
Otherwise we force consumers to use the config location for state data,
which is what we are trying to avoid.
Task: https://phabricator.kde.org/T12549
Diffstat (limited to 'autotests/kconfig_compiler/test_state_config.kcfg')
-rw-r--r-- | autotests/kconfig_compiler/test_state_config.kcfg | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/autotests/kconfig_compiler/test_state_config.kcfg b/autotests/kconfig_compiler/test_state_config.kcfg new file mode 100644 index 00000000..9c9e96c3 --- /dev/null +++ b/autotests/kconfig_compiler/test_state_config.kcfg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 + http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > + <kcfgfile name="test_statedatarc" stateConfig="true"/> + + <group name="General"> + <entry type="Int" key="SomeStateData"> + <default>0</default> + </entry> + </group> + +</kcfg> |