summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/MenuStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/MenuStyle.qml')
-rw-r--r--src/controls/Styles/Base/MenuStyle.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/Styles/Base/MenuStyle.qml b/src/controls/Styles/Base/MenuStyle.qml
index 13a889c4..f40e0af7 100644
--- a/src/controls/Styles/Base/MenuStyle.qml
+++ b/src/controls/Styles/Base/MenuStyle.qml
@@ -98,13 +98,13 @@ Style {
/*!
\qmlmethod string MenuStyle::formatMnemonic(string text, bool underline = false)
- Returns a rich-text string to render mnemonics for a given menu item.
+ Returns a rich-text string to render mnemonics for a given menu item \a text.
The mnemonic character is prefixed by an ampersand in the original string.
- Passing \c true for \c underline will underline the mnemonic character (e.g.,
+ Passing \c true for \a underline will underline the mnemonic character (e.g.,
\c formatMnemonic("&Open...", true) will return \c "<u>O</u>pen..."). Passing \c false
- for \c underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false)
+ for \a underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false)
will return \c "Open...").
\sa Label