summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-12-21 17:26:05 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-12-22 10:56:41 +0000
commitebe55690b05e8b2802eae33eecaa4ab84fbe9dd2 (patch)
treeaa9c15c045457f5795e512570c62e330cbaba974 /src
parentaa6294a3918b5e74b549cb483c83371c896a09cc (diff)
Doc: Fix property name JavaScriptDialogRequest::defaultText
The type value was also wrong (should have been DialogTypePrompt), so the text was changed to use natural language insted of code. Change-Id: I5e27749af54a20e722fcd0ccf793cd948151112a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/webengine/api/qquickwebenginedialogrequests.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webengine/api/qquickwebenginedialogrequests.cpp b/src/webengine/api/qquickwebenginedialogrequests.cpp
index 641793e12..72f43c3e5 100644
--- a/src/webengine/api/qquickwebenginedialogrequests.cpp
+++ b/src/webengine/api/qquickwebenginedialogrequests.cpp
@@ -312,11 +312,10 @@ QString QQuickWebEngineJavaScriptDialogRequest::message() const
}
/*!
- \qmlproperty string JavaScriptDialogRequest::defaultPrompt
+ \qmlproperty string JavaScriptDialogRequest::defaultText
\readonly
- The default text if the requested dialog box is of
- the \l type PromptDialog.
+ The default prompt text, if the requested dialog is a prompt.
*/