summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/web_engine_context.cpp2
-rw-r--r--src/webengine/api/qquickwebenginesettings.cpp1
-rw-r--r--src/webenginewidgets/doc/src/qwebenginesettings_lgpl.qdoc5
3 files changed, 6 insertions, 2 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index b4788e02d..78c0fa3b8 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -133,6 +133,8 @@ bool usingANGLE()
bool usingSoftwareDynamicGL()
{
+ if (QCoreApplication::testAttribute(Qt::AA_UseSoftwareOpenGL))
+ return true;
#if defined(Q_OS_WIN)
HMODULE handle = static_cast<HMODULE>(QOpenGLContext::openGLModuleHandle());
wchar_t path[MAX_PATH];
diff --git a/src/webengine/api/qquickwebenginesettings.cpp b/src/webengine/api/qquickwebenginesettings.cpp
index 8a3c6c24f..ff2541376 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.
*/
diff --git a/src/webenginewidgets/doc/src/qwebenginesettings_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginesettings_lgpl.qdoc
index 1919d6ea7..efbeb1991 100644
--- a/src/webenginewidgets/doc/src/qwebenginesettings_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebenginesettings_lgpl.qdoc
@@ -96,8 +96,9 @@
Allows JavaScript programs to open popup windows without user
interaction. Enabled by default.
\value JavascriptCanAccessClipboard
- Allows JavaScript programs to read from and write to the clipboard. Disabled by
- default.
+ Allows JavaScript programs to read from and write to the clipboard.
+ Writing to the clipboard is always allowed if it is specifically requested by the user.
+ Disabled by default.
\value LinksIncludedInFocusChain
Includes hyperlinks in the keyboard focus chain. Enabled by default.
\value LocalStorageEnabled