Fix PrivacyScreen for MainWindow

This commit is contained in:
Joseph Donofry 2022-05-12 12:48:12 -04:00
parent 908f62159a
commit d130c96160
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -15,7 +15,7 @@ Item {
property int screenTimeout property int screenTimeout
Connections { Connections {
function onFocusChanged() { function onActiveChanged() {
if (MainWindow.active) { if (MainWindow.active) {
screenSaverTimer.stop(); screenSaverTimer.stop();
screenSaver.state = "Invisible"; screenSaver.state = "Invisible";
@ -26,7 +26,7 @@ Item {
} }
} }
target: TimelineManager target: MainWindow
} }
Timer { Timer {