From d130c961605e67c6771bfe78c3bb1b7e6205e3a8 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Thu, 12 May 2022 12:48:12 -0400 Subject: [PATCH] Fix PrivacyScreen for MainWindow --- resources/qml/PrivacyScreen.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/PrivacyScreen.qml b/resources/qml/PrivacyScreen.qml index fb3818df..d312172e 100644 --- a/resources/qml/PrivacyScreen.qml +++ b/resources/qml/PrivacyScreen.qml @@ -15,7 +15,7 @@ Item { property int screenTimeout Connections { - function onFocusChanged() { + function onActiveChanged() { if (MainWindow.active) { screenSaverTimer.stop(); screenSaver.state = "Invisible"; @@ -26,7 +26,7 @@ Item { } } - target: TimelineManager + target: MainWindow } Timer {