From cbd0eda3481b93371b88bc2c915ad1f61cba083b Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 6 Jun 2024 02:33:34 +0200 Subject: [PATCH] Explictly specify signal handler args --- plugins/runcommand/kdeconnect_runcommand_config.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/runcommand/kdeconnect_runcommand_config.qml b/plugins/runcommand/kdeconnect_runcommand_config.qml index c0908450c..02d798595 100644 --- a/plugins/runcommand/kdeconnect_runcommand_config.qml +++ b/plugins/runcommand/kdeconnect_runcommand_config.qml @@ -124,7 +124,7 @@ Kirigami.ScrollablePage { command: "qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults" } } - onActivated: { + onActivated: index => { if (index > 0) { nameField.text = sampleCommands.get(index).name commandField.text = sampleCommands.get(index).command