diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2015-03-30 05:58:20 -0700 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2015-05-07 12:23:13 +0000 |
commit | 76a990cfa3409214530e77d132cdefd9e96685f9 (patch) | |
tree | 7d62ab06ba35446d0ba56a30fe6d3e93362a7cc6 /examples/webengine/quicknanobrowser/BrowserDialog.qml | |
parent | 8596813a10b66b539746bb890bd4304e5f65b348 (diff) |
Quick: Share profiles between application windows
The applications should not create new WebEngineProfiles for
each window, because the WebEngineView can not adopt content
from a different profile when the target of the NewViewRequest
is a new window (SHIFT+click) or a dialog.
This also adds a notifier signal to the profile property
in order to avoid "non-NOTIFYable" warnings.
Change-Id: I235789f9bfa1a216f99592204e50266242d0ef1c
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'examples/webengine/quicknanobrowser/BrowserDialog.qml')
-rw-r--r-- | examples/webengine/quicknanobrowser/BrowserDialog.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserDialog.qml b/examples/webengine/quicknanobrowser/BrowserDialog.qml index 302833083..6202d02f7 100644 --- a/examples/webengine/quicknanobrowser/BrowserDialog.qml +++ b/examples/webengine/quicknanobrowser/BrowserDialog.qml @@ -40,7 +40,7 @@ import QtQuick 2.1 import QtQuick.Window 2.2 -import QtWebEngine 1.0 +import QtWebEngine 1.1 Window { property alias currentWebView: webView |