diff options
author | Zeno Albisser <zeno.albisser@theqtcompany.com> | 2015-01-21 10:42:47 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2015-03-30 12:08:09 +0000 |
commit | 3ed2314133cca326363b8bef1a5927dfb685e2a0 (patch) | |
tree | c40eb10a8c771eebd288bd999e5460f331a4b2f6 /examples/webengine | |
parent | dac590ce0d0b40af8332209c402639a5e14e4b6b (diff) |
Add support for Shockwave Flash plugin.
We will try to load the pepper flash plugin from
the places where it is most commonly located.
Alternatively the location and flash version
can be passed on the command line.
Change-Id: I41367586462157e722661aab3630357d6caf6a81
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
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 a047b2be5..aa55bd889 100644 --- a/examples/webengine/quicknanobrowser/BrowserWindow.qml +++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml @@ -82,6 +82,7 @@ ApplicationWindow { property alias autoLoadImages: loadImages.checked; property alias javaScriptEnabled: javaScriptEnabled.checked; property alias errorPageEnabled: errorPageEnabled.checked; + property alias pluginsEnabled: pluginsEnabled.checked; } WebEngineProfile { @@ -246,6 +247,12 @@ ApplicationWindow { checked: WebEngine.settings.errorPageEnabled } MenuItem { + id: pluginsEnabled + text: "Plugins On" + checkable: true + checked: true + } + MenuItem { id: offTheRecordEnabled text: "Off The Record" checkable: true @@ -326,6 +333,7 @@ ApplicationWindow { settings.autoLoadImages: appSettings.autoLoadImages settings.javascriptEnabled: appSettings.javaScriptEnabled settings.errorPageEnabled: appSettings.errorPageEnabled + settings.pluginsEnabled: appSettings.pluginsEnabled onCertificateError: { error.defer() |