diff options
-rw-r--r-- | qml/mw-ui.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 631852e..f5bf51f 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -560,19 +560,19 @@ Rectangle { Connections { target: launch - onInstalled: { + function onInstalled() { // get the signal to reload the applist console.log("Reload applications list") itemModel.update_list(categoriesList.currentItem.myGroup) } - onRepo: { + function onRepo() { // get the signal that core repo is not enabled console.log("Core repository is not enabled") no_core.visible = true } - onNeeded: { + function onNeeded(repo) { // get the signal that tainted repo is not enabled console.log("%1 is not enabled".arg(repo)) if (repo == "non-free") { @@ -586,7 +586,7 @@ Rectangle { } } - onNoprogram: { + function onNoprogram() { // get the signal that the command doesn't exist' console.log("The program is not installed") no_program.visible = true |