aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquicktext.cpp')
-rw-r--r--src/quick/items/qquicktext.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
index 90469ee82b..74cae71616 100644
--- a/src/quick/items/qquicktext.cpp
+++ b/src/quick/items/qquicktext.cpp
@@ -1468,11 +1468,10 @@ QQuickText::~QQuickText()
*/
/*!
- \qmlproperty enumeration QtQuick::Text::font.weight
+ \qmlproperty int QtQuick::Text::font.weight
- Sets the font's weight.
-
- The weight can be one of:
+ The requested weight of the font. The weight requested must be an integer
+ between 0 and 99, or one of the predefined values:
\list
\li Font.Thin
\li Font.Light