summary refs log tree commit diff
path: root/resources/qml/PrivacyScreen.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/PrivacyScreen.qml')
-rw-r--r--resources/qml/PrivacyScreen.qml16
1 files changed, 4 insertions, 12 deletions
diff --git a/resources/qml/PrivacyScreen.qml b/resources/qml/PrivacyScreen.qml
index a3539df7..764bdf62 100644
--- a/resources/qml/PrivacyScreen.qml
+++ b/resources/qml/PrivacyScreen.qml
@@ -50,24 +50,16 @@ Item {
                 name: "Visible"
 
                 PropertyChanges {
-                    target: screenSaver
-                    visible: true
-                }
-                PropertyChanges {
-                    opacity: 1
-                    target: screenSaver
+                    screenSaver.visible: true
+                    screenSaver.opacity: 1
                 }
             },
             State {
                 name: "Invisible"
 
                 PropertyChanges {
-                    opacity: 0
-                    target: screenSaver
-                }
-                PropertyChanges {
-                    target: screenSaver
-                    visible: false
+                    screenSaver.opacity: 0
+                    screenSaver.visible: false
                 }
             }
         ]