summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/doc/src/webengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorMoss Heim <moss.heim@qt.io>2024-01-26 11:51:56 +0100
committerMoss Heim <moss.heim@qt.io>2024-02-05 09:59:01 +0100
commit2d52d1544e85b8bd15ea23c42872961b9f9249ec (patch)
treee1620906b5ecba0c01d99be786e81fce0d843737 /src/webenginequick/doc/src/webengineview_lgpl.qdoc
parent674732fd8ac62be3fe04ae5333c809a1ebc74285 (diff)
Clarify meaning of baseUrl argument in setContent
The previous wording made it sound as if baseUrl must always be non-empty, however this only affects external content relative URLs. Fixes: QTBUG-90927 Pick-to: 6.7 6.6 Change-Id: I0dff3368dec60b5734c1b12bbfe3f4aefc240e14 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/webenginequick/doc/src/webengineview_lgpl.qdoc')
-rw-r--r--src/webenginequick/doc/src/webengineview_lgpl.qdoc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webenginequick/doc/src/webengineview_lgpl.qdoc b/src/webenginequick/doc/src/webengineview_lgpl.qdoc
index e4d394a99..6b731b11b 100644
--- a/src/webenginequick/doc/src/webengineview_lgpl.qdoc
+++ b/src/webenginequick/doc/src/webengineview_lgpl.qdoc
@@ -356,9 +356,8 @@
This method offers a lower-level alternative to the \c{url} property,
which references HTML pages via URL.
- External objects, such as stylesheets or images referenced in the HTML
- document, should be located relative to \a baseUrl. For external objects to
- be loaded, \c baseUrl cannot be empty. For example, if \a html
+ \a baseUrl is optional and used to resolve relative URLs in the document,
+ such as referenced images or stylesheets. For example, if \a html
is retrieved from \c http://www.example.com/documents/overview.html, which
is the base URL, then an image referenced with the relative URL, \c diagram.png,
should be at \c{http://www.example.com/documents/diagram.png}.