aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2020-12-02 15:02:26 +0100
committerAndreas Buhr <andreas@andreasbuhr.de>2020-12-02 18:44:23 +0100
commited098189d5809259378dc9a427a6fe6e303582ba (patch)
tree268b920881c7749a23a86c50f9e9c1d62c2f7852 /src/qml/doc/src
parent9d0c455c4b0df32250bb53fc60502ea1ec090b82 (diff)
Fix usage of oldcode and newcode in qt6-changes.qdoc
There was wrong usage of \begincode and similar commands. This patch fixes it. Task-number: QTBUG-88533 Pick-to: 6.0 Change-Id: I70b3d0104ba1dc8eb44556f35fc552e259317f88 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r--src/qml/doc/src/qt6-changes.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qt6-changes.qdoc b/src/qml/doc/src/qt6-changes.qdoc
index 087c500ab2..70c61849e7 100644
--- a/src/qml/doc/src/qt6-changes.qdoc
+++ b/src/qml/doc/src/qt6-changes.qdoc
@@ -49,9 +49,9 @@
assigned to an url property. In Qt 6 this is no longer the case.
If you had a QML file stored under "/home/qml/example.qml", and "example.qml" contained
- \begincode
+ \code
property url imageFolder: "./images"
- \oldcode
+ \endcode
then the url property would store the URL "/home/qml/images". This made it impossible to use
relative URLs in QML in this way, so in Qt 6, the URL stays relative, and only gets resolved
when this is required (e.g. when it is used as the source of an Image component).