summaryrefslogtreecommitdiffstats
path: root/qml/mw-ui.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-01-20 14:48:22 +0100
committerPapoteur <papoteur@mageia.org>2023-01-20 14:48:22 +0100
commit1a5596b29b497fe0d17a7189a4194ee22ceefc37 (patch)
treee5d0945e243f7ac5123369d6c3a85ce98f179d5d /qml/mw-ui.qml
parent96d5480f886a17567f3c641f50daddf2ec882ffc (diff)
downloadmageiawelcome-1a5596b29b497fe0d17a7189a4194ee22ceefc37.tar
mageiawelcome-1a5596b29b497fe0d17a7189a4194ee22ceefc37.tar.gz
mageiawelcome-1a5596b29b497fe0d17a7189a4194ee22ceefc37.tar.bz2
mageiawelcome-1a5596b29b497fe0d17a7189a4194ee22ceefc37.tar.xz
mageiawelcome-1a5596b29b497fe0d17a7189a4194ee22ceefc37.zip
fix installation of applications
this was broken by setting /usr/bin/gurpmi in QML part now use a specific function to pass package to install and repository
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r--qml/mw-ui.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 685ed5f..ed6cecf 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -263,7 +263,7 @@ Rectangle {
height: Qt.application.font.pixelSize * 1.3
objectName: "launch"
onClicked: {
- launch.command(["/usr/bin/gurpmi",name,repo,])}
+ launch.install([name,repo,])}
style: ButtonStyle {
label: Label {
horizontalAlignment: TextInput.AlignHCenter