Home GnuPG

Show group config handout in group config help

Description

Show group config handout in group config help

This shows a specific help for group management instead
of the generic Kleopatra help when help is selected in
the Group config dialog.

Details

Provenance
aheineckeAuthored on Tue, Jan 4, 1:51 PM
Parents
rKLEOPATRA998a19b36601: Use new DocAction for g4w comp and new docs
Branches
Unknown
Tags
Unknown
References
refs/keep-around/b06e18ebab4acef31d0b0dc6e063c127589dfff7

Event Timeline

ikloecker added inline comments.
/src/conf/groupsconfigdialog.cpp
92

Passing this (the dialog) as parent argument to DocAction would be less obscure than listening for a destroyed signal. Moreover, the DocAction wouldn't be leaked if helpButton is nullptr.

Alternatively, you could have put helpAction into a unique_ptr and released it when you really want to keep it, to ensure that it's not leaked when it's not needed. Deleting pointers manually is so C++03. ;-)