In hamburger menu, use QKeySequence to draw strings
I suspect it can draw "cover-leaf+C" instead of "ctrl-C" or whatever it supposed to happen on macs... see also #947 (closed), #551 (closed), #552.
Once a MR is open, ask a macOS user to look at some places and take screenshots:
- F10/hamburger menu
-
?
KeyHelp dialog. - previous paper (ctrl+left) dialog tooltips for next and previous buttons
It may be that the keydata
object should container the QKeySequence and use that thing's .toString()
: experimenting required...
In the Qt docs I saw:
QString QKeySequence::toString(QKeySequence::SequenceFormat format = PortableText) const
On macOS, the string returned resembles the sequence that is shown in the menu bar if format is QKeySequence::NativeText; otherwise, the string uses the "portable" format, suitable for writing to a file.