Explictly specify signal handler args

This commit is contained in:
Nicolas Fella 2024-06-06 02:33:34 +02:00
parent 632bf8e450
commit cbd0eda348

View file

@ -124,7 +124,7 @@ Kirigami.ScrollablePage {
command: "qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults" command: "qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults"
} }
} }
onActivated: { onActivated: index => {
if (index > 0) { if (index > 0) {
nameField.text = sampleCommands.get(index).name nameField.text = sampleCommands.get(index).name
commandField.text = sampleCommands.get(index).command commandField.text = sampleCommands.get(index).command