summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/minimal/doc/src/minimal.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/minimal/doc/src/minimal.qdoc')
-rw-r--r--examples/webenginewidgets/minimal/doc/src/minimal.qdoc10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/webenginewidgets/minimal/doc/src/minimal.qdoc b/examples/webenginewidgets/minimal/doc/src/minimal.qdoc
index 05ec9ee79..477ff521b 100644
--- a/examples/webenginewidgets/minimal/doc/src/minimal.qdoc
+++ b/examples/webenginewidgets/minimal/doc/src/minimal.qdoc
@@ -42,8 +42,14 @@
\section1 The Code
- In the \c main function we first set the Qt::AA_EnableHighDpiScaling.
- This lets the web view automatically scale on high-dpi displays.
+ In the \c main function we first set the
+ \l{QCoreApplication::organizationName} property. This affects the locations
+ where Qt WebEngine stores persistent and cached data (see also
+ \l{QWebEngineProfile::cachePath} and
+ \l{QWebEngineProfile::persistentStoragePath}).
+
+ We also set the Qt::AA_EnableHighDpiScaling attribute. This lets the web
+ view automatically scale on high-dpi displays.
Next, we instantiate a QApplication and a QWebEngineView. The URL
to load is taken from the command-line in \c commandLineUrlArgument and