aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquicktextinput.cpp')
-rw-r--r--src/quick/items/qquicktextinput.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index 8f306daed2..304f96e93a 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -255,11 +255,10 @@ QString QQuickTextInputPrivate::realText() const
*/
/*!
- \qmlproperty enumeration QtQuick::TextInput::font.weight
+ \qmlproperty int QtQuick::TextInput::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