aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-07-19 15:32:24 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-07-19 13:37:16 +0000
commitae3fcdd0c6fc27a692a19c669daf45c8160bc257 (patch)
tree588b2111249ab4fe1f3f386a962f062335e109c7 /src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc
parent83d8657ad509ca7a2e26cca84ad8753e3466478d (diff)
differences.qdoc: clarify Button.qml example
import "controls" was supposed to refer to a directory named "controls". Change-Id: I6e977354fa1ce01b1c14dda378d077b1003cb21a Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc')
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc
index 39213458..e6fdcb10 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc
@@ -166,8 +166,9 @@
With this in mind, a good way to prepare for a migration to Qt Quick
Controls 2 is to place each control that you have a custom style for in its
- own QML file. For example, the Qt Quick Controls button above could be moved to a
- file named Button.qml, and used in the following manner:
+ own QML file. For example, the Qt Quick Controls button above could be
+ moved to a file named \c Button.qml in a directory named \c controls, and
+ used in the following manner:
\badcode
import "controls" as Controls