aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2017-07-04 10:59:28 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2017-07-04 11:24:41 +0000
commitfd295c5047095806db2015a978ed593a140ff373 (patch)
treecc9626d0f9a99181a43c1a60ac426b0afe535e60
parent98a71c7739a91be03b73312253dd1291e0a1d96d (diff)
doc: Use correct class in docs for font.kerning
Copy-pasted the docs for Text.font.kerning into TextEdit and TextInput and forgot to change the class name in the example. Amends 441e0b41bf5b700cdaa3b0ba2393c487ed4b9de5. Task-number: QTBUG-56728 Change-Id: Ieab27efb51fa702d83b891e3c7b7aeb5e4795fc5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/quick/items/qquicktextedit.cpp2
-rw-r--r--src/quick/items/qquicktextinput.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquicktextedit.cpp b/src/quick/items/qquicktextedit.cpp
index aad380ca30..aec8666dc4 100644
--- a/src/quick/items/qquicktextedit.cpp
+++ b/src/quick/items/qquicktextedit.cpp
@@ -364,7 +364,7 @@ QString QQuickTextEdit::text() const
is true.
\qml
- Text { text: "OATS FLAVOUR WAY"; kerning: font.false }
+ TextEdit { text: "OATS FLAVOUR WAY"; kerning: font.false }
\endqml
*/
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index d485083820..49f574156a 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -388,7 +388,7 @@ QString QQuickTextInputPrivate::realText() const
is true.
\qml
- Text { text: "OATS FLAVOUR WAY"; font.kerning: false }
+ TextInput { text: "OATS FLAVOUR WAY"; font.kerning: false }
\endqml
*/
QFont QQuickTextInput::font() const