lock screen: threat vignette + chromatic aberration on failed auth, heartbeat pulse at 3+ fails
This commit is contained in:
parent
94a3fdb86c
commit
8c2f362d04
3 changed files with 251 additions and 119 deletions
|
|
@ -12,6 +12,7 @@ QtObject {
|
|||
property string state: ""
|
||||
property string message: ""
|
||||
property string buffer: ""
|
||||
property int failCount: 0
|
||||
|
||||
signal unlockRequested
|
||||
signal authFailed
|
||||
|
|
@ -58,6 +59,7 @@ QtObject {
|
|||
root.message = "Wrong password";
|
||||
}
|
||||
|
||||
root.failCount++;
|
||||
root.authFailed();
|
||||
_stateReset.restart();
|
||||
}
|
||||
|
|
@ -85,6 +87,7 @@ QtObject {
|
|||
root.buffer = "";
|
||||
root.state = "";
|
||||
root.message = "";
|
||||
root.failCount = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue