diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-08-31 17:12:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-11-29 08:36:51 +0000 |
commit | 05574185dab53476294cf62f2067a4147aa0b6eb (patch) | |
tree | d5117bbae4b3a4417173d6c969640e79c130b587 /examples/webengine | |
parent | 5480a26d2f16dacfbce47da337559b5bcfb3d45e (diff) |
Expose an option to hide internal IP addresses from WebRTC
Task-number: QTBUG-57505
Change-Id: I8d8f906311ce94b2d9df67cb4479b70c8961c3a6
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Diffstat (limited to 'examples/webengine')
-rw-r--r-- | examples/webengine/quicknanobrowser/BrowserWindow.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserWindow.qml b/examples/webengine/quicknanobrowser/BrowserWindow.qml index 633ec7a98..193f10ab3 100644 --- a/examples/webengine/quicknanobrowser/BrowserWindow.qml +++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml @@ -87,6 +87,7 @@ ApplicationWindow { property alias fullScreenSupportEnabled: fullScreenSupportEnabled.checked property alias autoLoadIconsForPage: autoLoadIconsForPage.checked property alias touchIconsEnabled: touchIconsEnabled.checked + property alias webRTCPublicInterfacesOnly : webRTCPublicInterfacesOnly.checked } Action { @@ -311,6 +312,12 @@ ApplicationWindow { checked: WebEngine.settings.touchIconsEnabled enabled: autoLoadIconsForPage.checked } + MenuItem { + id: webRTCPublicInterfacesOnly + text: "WebRTC Public Interfaces Only" + checkable: true + checked: WebEngine.settings.webRTCPublicInterfacesOnly + } } } } @@ -384,6 +391,7 @@ ApplicationWindow { settings.fullScreenSupportEnabled: appSettings.fullScreenSupportEnabled settings.autoLoadIconsForPage: appSettings.autoLoadIconsForPage settings.touchIconsEnabled: appSettings.touchIconsEnabled + settings.webRTCPublicInterfacesOnly: appSettings.webRTCPublicInterfacesOnly onCertificateError: { error.defer(); |