mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
Fix PrivacyScreen for MainWindow
This commit is contained in:
parent
908f62159a
commit
d130c96160
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue