From 8c368db884f47c9c6b83c3a1b6ca14532c7c70d8 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 8 Dec 2018 12:11:37 +0100 Subject: Restore launching command buttons --- qml/mw-ui.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qml/mw-ui.qml') diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index c7b2857..e00c5f7 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -102,7 +102,7 @@ and help you with the configuration of your newly installed system. Button { Layout.maximumWidth: slideshow.width * .25 objectName: "launch" - onClicked: { launch.command("drakrpm-edit-media")} + onClicked: { launch.command(["drakrpm-edit-media",])} style: ButtonStyle { label: Label { text: qsTr("Edit software repositories")+" *"; @@ -187,7 +187,7 @@ It is highly recommended that you update your system regularly. An Update icon w anchors.verticalCenter: parent.verticalCenter Button { objectName: "launch" - onClicked:{ launch.command("drakrpm-update")} + onClicked:{ launch.command(["drakrpm-update",])} style: ButtonStyle { label: Label { text: qsTr("Check system update"); @@ -232,7 +232,7 @@ It is highly recommended that you update your system regularly. An Update icon w Button { id: mcc objectName: "launch" - onClicked: { launch.command("drakconf")} + onClicked: { launch.command(["drakconf"])} style: ButtonStyle { label: Label { text: qsTr("Mageia Control Center"); -- cgit v1.2.1