wlogout: fix breakages
This commit is contained in:
parent
955bd1f8c1
commit
bbb03fdd79
2 changed files with 2 additions and 3 deletions
|
@ -11,11 +11,10 @@ QtObject {
|
|||
|
||||
readonly property var process: Process {
|
||||
command: ["sh", "-c", button.command]
|
||||
manageLifetime: false
|
||||
}
|
||||
|
||||
function exec() {
|
||||
process.running = true;
|
||||
process.startDetached();
|
||||
Qt.quit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue