restore onNewViewRequested

This commit is contained in:
howard-stearns 2016-08-29 13:53:08 -07:00
parent a1ae9eebf2
commit 6272db42da

View file

@ -61,6 +61,11 @@ WebEngineView {
}
}
onNewViewRequested:{
var component = Qt.createComponent("../Browser.qml");
var newWindow = component.createObject(desktop);
request.openIn(newWindow.webView)
}
// This breaks the webchannel used for passing messages. Fixed in Qt 5.6
// See https://bugreports.qt.io/browse/QTBUG-49521