kconfig: qconf: refactor icon setups
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 7 Aug 2020 09:19:07 +0000 (18:19 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 14 Aug 2020 04:46:36 +0000 (13:46 +0900)
commit5cb255ffa1e7337669616188e1b2f4bd48305d34
treecad0e95e287c6d7002b25db7c8fcc579d7716710
parent4fa91f528f344a86cdef23b17d611b479421b2c8
kconfig: qconf: refactor icon setups

These icon data are used by ConfigItem, but stored in each instance
of ConfigView. There is no point to keep the same data in each of 3
instances, "menu", "config", and "search".

Move the icon data to the more relevant ConfigItem class, and make
them static members.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc
scripts/kconfig/qconf.h