mirror of
https://github.com/hyprwm/hyprpolkitagent.git
synced 2024-12-25 20:59:49 +01:00
qml: update deprecated syntax (#14)
This commit is contained in:
parent
3ccff047e2
commit
d94cbabd3d
1 changed files with 3 additions and 3 deletions
|
@ -80,10 +80,10 @@ ApplicationWindow {
|
|||
|
||||
Connections {
|
||||
target: hpa
|
||||
onFocusField: () => {
|
||||
function onFocusField() {
|
||||
passwordField.focus = true;
|
||||
}
|
||||
onBlockInput: (block) => {
|
||||
function onBlockInput(block) {
|
||||
passwordField.readOnly = block;
|
||||
if (!block) {
|
||||
passwordField.focus = true;
|
||||
|
@ -105,7 +105,7 @@ ApplicationWindow {
|
|||
|
||||
Connections {
|
||||
target: hpa
|
||||
onSetErrorString: (e) => {
|
||||
function onSetErrorString(e) {
|
||||
errorLabel.text = e;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue