diff --git a/modules/lock/Lock.qml b/modules/lock/Lock.qml index 25d8a08c..283906cb 100644 --- a/modules/lock/Lock.qml +++ b/modules/lock/Lock.qml @@ -25,13 +25,17 @@ Scope { lock: lock } - CustomShortcut { // qmllint disable unresolved-type + // qmllint disable unresolved-type + CustomShortcut { + // qmllint enable unresolved-type name: "lock" description: "Lock the current session" onPressed: lock.locked = true } - CustomShortcut { // qmllint disable unresolved-type + // qmllint disable unresolved-type + CustomShortcut { + // qmllint enable unresolved-type name: "unlock" description: "Unlock the current session" onPressed: lock.unlock()