diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-30 08:26:38 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-07-01 23:59:30 +0900 |
commit | b06c3ec3bd184e8bbd3e37d53a3d27c4ab9ccd09 (patch) | |
tree | 45c8dd4c51def6ef7293a043fa45b4448d3fa4cf /kernel/livepatch/core.c | |
parent | c4f7398bee9c49bd79930d4a856fb6291d20cde3 (diff) | |
download | linux-b06c3ec3bd184e8bbd3e37d53a3d27c4ab9ccd09.tar.gz linux-b06c3ec3bd184e8bbd3e37d53a3d27c4ab9ccd09.tar.bz2 linux-b06c3ec3bd184e8bbd3e37d53a3d27c4ab9ccd09.zip |
kconfig: qconf: re-implement setSelected()
The default implementation for setSelected() at QTreeWidgetItem
allows multiple items to be selected.
Well, this should never be possible for the configItem lists.
So, implement a function that will automatically clean any
previous selection. This simplifies the logic somewhat, while
making the selection logic to be applied atomically, avoiding
future issues on that.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'kernel/livepatch/core.c')
0 files changed, 0 insertions, 0 deletions