mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 14:04:23 +02:00
commit
5171ec93a9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,6 @@ FocusScope {
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
id: d
|
id: d
|
||||||
readonly property var messageDialogBuilder: Component { MessageDialog { } }
|
|
||||||
|
|
||||||
function findChild(item, name) {
|
function findChild(item, name) {
|
||||||
for (var i = 0; i < item.children.length; ++i) {
|
for (var i = 0; i < item.children.length; ++i) {
|
||||||
|
@ -209,6 +208,7 @@ FocusScope {
|
||||||
onHeightChanged: repositionAll();
|
onHeightChanged: repositionAll();
|
||||||
onWidthChanged: repositionAll();
|
onWidthChanged: repositionAll();
|
||||||
|
|
||||||
|
Component { id: messageDialogBuilder; MessageDialog { } }
|
||||||
function messageBox(properties) {
|
function messageBox(properties) {
|
||||||
return messageDialogBuilder.createObject(desktop, properties);
|
return messageDialogBuilder.createObject(desktop, properties);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue