summaryrefslogtreecommitdiffstats
path: root/src/webengine
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-02-27 20:34:27 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-07 22:56:29 +0000
commit2d641398008ce8d58bb257f32e10914cd564405e (patch)
treec83b97e21eee89e9b3c9540eb10d4a101e013579 /src/webengine
parent37fac8e46cd77edc9fab4ebf29cb7ab3b529135d (diff)
Clarify JavascriptCanAccessClipboard documentation
Chromium always allows copying to clipboard (even when this is disabled) if it's resulting from an user interaction. Change-Id: I0363b892fef6ce015a2f8ae9b89423e1655b516c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/api/qquickwebenginesettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebenginesettings.cpp b/src/webengine/api/qquickwebenginesettings.cpp
index c9eb9d342..fd89e3916 100644
--- a/src/webengine/api/qquickwebenginesettings.cpp
+++ b/src/webengine/api/qquickwebenginesettings.cpp
@@ -112,6 +112,7 @@ bool QQuickWebEngineSettings::javascriptCanOpenWindows() const
\qmlproperty bool WebEngineSettings::javascriptCanAccessClipboard
Allows JavaScript programs to read from or write to the clipboard.
+ Writing to the clipboard is always allowed if it is specifically requested by the user.
Disabled by default.
*/