Fix PrivacyScreen for MainWindow

pull/1082/head
Joseph Donofry 3 years ago
parent 908f62159a
commit d130c96160
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 4
      resources/qml/PrivacyScreen.qml

@ -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 {

Loading…
Cancel
Save