Make content.webrtc_public_interfaces_only work on Qt 5.11
69abc9a1a1
added the argument for Qt 5.9, but
didn't add the QWebEngineSetting for Qt >= 5.11.
See #3010, #2163.
This commit is contained in:
parent
831d3e4044
commit
e927fecbbc
@ -41,6 +41,8 @@ Fixed
|
|||||||
still won't open though, due to missing support in Qt.
|
still won't open though, due to missing support in Qt.
|
||||||
- Crash when a download directory which can't be created is configured.
|
- Crash when a download directory which can't be created is configured.
|
||||||
- Crash in the `importer.py` script when importing Chrome bookmarks from newer Chrome versions.
|
- Crash in the `importer.py` script when importing Chrome bookmarks from newer Chrome versions.
|
||||||
|
- The `content.webrtc_public_interfaces_only` option didn't work on Qt 5.11 previously (it now does).
|
||||||
|
Note it still does not work on Qt 5.10 (due to a Qt bug) and Qt < 5.9.2.
|
||||||
|
|
||||||
v1.4.1
|
v1.4.1
|
||||||
------
|
------
|
||||||
|
@ -166,6 +166,8 @@ class WebEngineSettings(websettings.AbstractSettings):
|
|||||||
# Qt 5.11
|
# Qt 5.11
|
||||||
'content.autoplay':
|
'content.autoplay':
|
||||||
('PlaybackRequiresUserGesture', lambda val: not val),
|
('PlaybackRequiresUserGesture', lambda val: not val),
|
||||||
|
'content.webrtc_public_interfaces_only':
|
||||||
|
('WebRTCPublicInterfacesOnly', None),
|
||||||
}
|
}
|
||||||
for name, (attribute, converter) in new_attributes.items():
|
for name, (attribute, converter) in new_attributes.items():
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user