Fix PrivacyScreen for MainWindow
This commit is contained in:
parent
908f62159a
commit
d130c96160
@ -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…
Reference in New Issue
Block a user