summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controls/Styles/Base/MenuBarStyle.qml2
-rw-r--r--src/controls/Styles/Base/MenuStyle.qml2
-rw-r--r--src/controls/qquickmenuitem.cpp6
3 files changed, 6 insertions, 4 deletions
diff --git a/src/controls/Styles/Base/MenuBarStyle.qml b/src/controls/Styles/Base/MenuBarStyle.qml
index 40e6ea5d1..c49dbb1d5 100644
--- a/src/controls/Styles/Base/MenuBarStyle.qml
+++ b/src/controls/Styles/Base/MenuBarStyle.qml
@@ -65,7 +65,7 @@ Style {
for \c underline will return the plain text form (e.g., \c formatMnemonic("&File", false)
will return \c "File").
- \sa label
+ \sa Label
*/
function formatMnemonic(text, underline) {
return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text)
diff --git a/src/controls/Styles/Base/MenuStyle.qml b/src/controls/Styles/Base/MenuStyle.qml
index 61202bae5..a63fd358c 100644
--- a/src/controls/Styles/Base/MenuStyle.qml
+++ b/src/controls/Styles/Base/MenuStyle.qml
@@ -106,7 +106,7 @@ Style {
for \c underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false)
will return \c "Open...").
- \sa label
+ \sa Label
*/
function formatMnemonic(text, underline) {
return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text)
diff --git a/src/controls/qquickmenuitem.cpp b/src/controls/qquickmenuitem.cpp
index 275a6fa71..447db00c6 100644
--- a/src/controls/qquickmenuitem.cpp
+++ b/src/controls/qquickmenuitem.cpp
@@ -177,8 +177,9 @@ void QQuickMenuBase::setVisualItem(QQuickItem *item)
/*!
\qmlproperty enumeration MenuSeparator::type
+ \readonly
- This property is read-only and constant, and its value is \l MenuItemType.Separator.
+ This property is read-only and constant, and its value is \c MenuItemType.Separator.
*/
QQuickMenuSeparator::QQuickMenuSeparator(QObject *parent)
@@ -320,8 +321,9 @@ void QQuickMenuText::updateIcon()
/*!
\qmlproperty enumeration MenuItem::type
+ \readonly
- This property is read-only and constant, and its value is \l MenuItemType.Item.
+ This property is read-only and constant, and its value is \c MenuItemType.Item.
*/
/*!