mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 05:58:28 +02:00
Merge pull request #15717 from annabrewer/qml-stackview-push-workaround
BUGZ-297: QT - Crash when opening a menu that spawns a desktop popup window while in VR (running scripts, settings, etc)
This commit is contained in:
commit
5ea65c0a5a
8 changed files with 16 additions and 8 deletions
|
@ -34,7 +34,8 @@ StackView {
|
|||
}
|
||||
|
||||
function pushSource(path) {
|
||||
editRoot.push(Qt.resolvedUrl("../../" + path), itemProperties,
|
||||
var item = Qt.createComponent(Qt.resolvedUrl("../../" + path));
|
||||
editRoot.push(item, itemProperties,
|
||||
StackView.Immediate);
|
||||
editRoot.currentItem.sendToScript.connect(editRoot.sendToScript);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,8 @@ StackView {
|
|||
}
|
||||
|
||||
function pushSource(path) {
|
||||
editRoot.push(Qt.resolvedUrl("../../" + path), itemProperties,
|
||||
var item = Qt.createComponent(Qt.resolvedUrl("../../" + path));
|
||||
editRoot.push(item, itemProperties,
|
||||
StackView.Immediate);
|
||||
editRoot.currentItem.sendToScript.connect(editRoot.sendToScript);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.resolvedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
|
@ -22,7 +22,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.reslovedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
|
@ -22,7 +22,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.resolvedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
|
@ -22,7 +22,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.resolvedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
|
@ -22,7 +22,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.resolvedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
|
@ -22,7 +22,8 @@ StackView {
|
|||
signal sendToScript(var message);
|
||||
|
||||
function pushSource(path) {
|
||||
profileRoot.push(Qt.resolvedUrl(path));
|
||||
var item = Qt.createComponent(Qt.resolvedUrl(path));
|
||||
profileRoot.push(item);
|
||||
}
|
||||
|
||||
function popSource() {
|
||||
|
|
Loading…
Reference in a new issue