removes direct extern access, receives signal properly now, removed declaration unused method
This commit is contained in:
@@ -9,6 +9,7 @@ import qs.Components
|
||||
Scope {
|
||||
id: root
|
||||
|
||||
required property var lid
|
||||
property alias lock: lock
|
||||
property int seenOnce: 0
|
||||
|
||||
@@ -21,6 +22,13 @@ Scope {
|
||||
onRequestLock: lock.locked = true
|
||||
onUnlock: lock.locked = false
|
||||
|
||||
Connections {
|
||||
target: root.lid
|
||||
function onRequestLock(): void {
|
||||
lock.locked = true
|
||||
}
|
||||
}
|
||||
|
||||
LockSurface {
|
||||
id: lockSurface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user