From d6427a1efb334fdc7e9a82ef2d61349d4083d36a Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 28 Apr 2018 18:50:07 +0200 Subject: [PATCH] Fixes undefined references to 'bg', was previously moved to main.inactiveOverlay --- components/InputDialog.qml | 8 -------- components/NewPasswordDialog.qml | 2 +- components/PasswordDialog.qml | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/components/InputDialog.qml b/components/InputDialog.qml index 5119c9fc..7cb37ef4 100644 --- a/components/InputDialog.qml +++ b/components/InputDialog.qml @@ -153,12 +153,4 @@ Item { } } } - - Rectangle { - id: bg - z: parent.z + 1 - anchors.fill: parent - color: "black" - opacity: 0.8 - } } diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml index d94b5407..032acbc8 100644 --- a/components/NewPasswordDialog.qml +++ b/components/NewPasswordDialog.qml @@ -80,7 +80,7 @@ Item { } ColumnLayout { - z: bg.z + 1 + z: inactiveOverlay.z + 1 id: mainLayout spacing: 10 anchors { fill: parent; margins: 35 * scaleRatio } diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index 1534e1f3..e8e39e4c 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -70,7 +70,7 @@ Item { } ColumnLayout { - z: bg.z + 1 + z: inactiveOverlay.z + 1 id: mainLayout spacing: 10 anchors { fill: parent; margins: 35 * scaleRatio }