summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-02-22 12:24:05 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-24 11:42:13 +0000
commit678cb710bb07188454b19a70b5e5595b8ea41c2a (patch)
tree3e9e6376a892268eb7219850ff356a17303167ff
parent4714ca1b14fdf889cc2df8fef0d6eb0f436c2eae (diff)
Doc: Talk about 'empty string' in WebEngineProfile::downloadPath
This is clearer than 'null string', and actually also what the code checks for. Change-Id: I856de48016b609cb7a8be1286f8be51ad765abd6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/webengine/api/qquickwebengineprofile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp
index edd460f3a..061e210fb 100644
--- a/src/webengine/api/qquickwebengineprofile.cpp
+++ b/src/webengine/api/qquickwebengineprofile.cpp
@@ -881,7 +881,7 @@ bool QQuickWebEngineProfile::isUsedForGlobalCertificateVerification() const
Overrides the default path used for download location.
- If set to the null string, the default path is restored.
+ If set to an empty string, the default path is restored.
\note By default, the download path is QStandardPaths::DownloadLocation.
*/
@@ -894,7 +894,7 @@ bool QQuickWebEngineProfile::isUsedForGlobalCertificateVerification() const
Overrides the default path used for download location, setting it to \a path.
- If set to the null string, the default path is restored.
+ If set to an empty string, the default path is restored.
\note By default, the download path is QStandardPaths::DownloadLocation.
*/