mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
quicksettings/caffeine: use lambda in signal handler
This commit is contained in:
parent
29229789e8
commit
a08e4c25d9
1 changed files with 2 additions and 2 deletions
|
|
@ -17,11 +17,11 @@ MobileShell.QuickSetting {
|
|||
id: pmSource
|
||||
engine: "powermanagement"
|
||||
connectedSources: sources
|
||||
onSourceAdded: {
|
||||
onSourceAdded: source => {
|
||||
disconnectSource(source);
|
||||
connectSource(source);
|
||||
}
|
||||
onSourceRemoved: {
|
||||
onSourceRemoved: source => {
|
||||
disconnectSource(source);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue