Add more information for QKeySequence::toString on macOS
The previous documentation said: "On OS X, the string returned resembles the sequence that is shown in the menu bar." That was not completely true because the string returned depends on the format passed to the function. Task-number: QTWEBSITE-744 Change-Id: I1b7d9367547326670d1b3a8cfe48f066910f5a10 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
3cd457bdad
commit
e1f0e08e9a
@ -1517,7 +1517,9 @@ bool QKeySequence::isDetached() const
|
||||
If the key sequence has no keys, an empty string is returned.
|
||||
|
||||
On \macos, the string returned resembles the sequence that is
|
||||
shown in the menu bar.
|
||||
shown in the menu bar if \a format is
|
||||
QKeySequence::NativeText; otherwise, the string uses the
|
||||
"portable" format, suitable for writing to a file.
|
||||
|
||||
\sa fromString()
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user