]> Git Repo - linux.git/commit
kconfig: qconf: make debug links work again
authorMauro Carvalho Chehab <[email protected]>
Tue, 30 Jun 2020 06:26:37 +0000 (08:26 +0200)
committerMasahiro Yamada <[email protected]>
Wed, 1 Jul 2020 14:57:53 +0000 (23:57 +0900)
commitc4f7398bee9c49bd79930d4a856fb6291d20cde3
tree4c46e5e263c86dcaa3b6d4bd6b50cb46cabec16b
parentc699eaaba98322872adbf4a55e7d679016d27b2d
kconfig: qconf: make debug links work again

The Qt5 conversion broke support for debug info links.

Restore the behaviour added by changeset
ab45d190fd4a ("kconfig: create links in info window").

The original approach was to pass a pointer for a data struct
via an <a href>. That doesn't sound a good idea, as, if something
gets wrong, the app could crash. So, instead, pass the name of
the symbol, and validate such symbol at the hyperlink handling
logic.

Link: https://lore.kernel.org/lkml/[email protected]/
Reported-by: Maxim Levitsky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
scripts/kconfig/qconf.cc
scripts/kconfig/qconf.h
This page took 0.054553 seconds and 4 git commands to generate.