Skip to content
Snippets Groups Projects
Commit 7d1300e6 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: qconf: fix the popup menu in the ConfigInfoView window


I do not know when ConfigInfoView::createStandardContextMenu() is
called.

Because QTextEdit::createStandardContextMenu() is not virtual,
ConfigInfoView::createStandardContextMenu() cannot override it.
Even if right-click the ConfigInfoView window, the "Show Debug Info"
menu does not show up.

Build up the menu in the constructor, and invoke it from the
contextMenuEvent().

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent d85de339
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment