mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:08:00 +02:00
restore onNewViewRequested
This commit is contained in:
parent
a1ae9eebf2
commit
6272db42da
1 changed files with 5 additions and 0 deletions
|
@ -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
|
// This breaks the webchannel used for passing messages. Fixed in Qt 5.6
|
||||||
// See https://bugreports.qt.io/browse/QTBUG-49521
|
// See https://bugreports.qt.io/browse/QTBUG-49521
|
||||||
|
|
Loading…
Reference in a new issue