]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: qconf: fix signal connection to invalid slots
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 Aug 2020 16:36:29 +0000 (01:36 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 18 Aug 2020 11:16:46 +0000 (20:16 +0900)
commitecebbca09833805f04a79668f7ffaa8caf20027b
tree11cb46a0e2fff80b9d8bff4751479bb7f7c87db6
parent6f4d7ba53832788b5fb80550ad4dbba717ae18fb
kconfig: qconf: fix signal connection to invalid slots

If you right-click in the ConfigList window, you will see the following
messages in the console:

QObject::connect: No such slot QAction::setOn(bool) in scripts/kconfig/qconf.cc:888
QObject::connect:  (sender name:   'config')
QObject::connect: No such slot QAction::setOn(bool) in scripts/kconfig/qconf.cc:897
QObject::connect:  (sender name:   'config')
QObject::connect: No such slot QAction::setOn(bool) in scripts/kconfig/qconf.cc:906
QObject::connect:  (sender name:   'config')

Right, there is no such slot in QAction. I think this is a typo of
setChecked.

Due to this bug, when you toggled the menu "Option->Show Name/Range/Data"
the state of the context menu was not previously updated. Fix this.

Fixes: 9a5890f7881a ("Port xconfig to Qt5 - Put back some of the old implementation(part 2)")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc