File tree Expand file tree Collapse file tree
shell-launcher-applet/package Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,35 +319,27 @@ AppletItem {
319319 Layout .margins : 10
320320 }
321321 RowLayout {
322- spacing: 0
323- Item {
324- Button {
325- id: cancelButton
326- text: qsTr (" Cancel" )
327- onClicked: {
328- confirmUninstallDlg .close ()
329- }
330- anchors .centerIn : parent
331- }
322+ spacing: 10
323+ Layout .fillWidth : true
324+ Layout .topMargin : 20
325+ Layout .bottomMargin : 20
326+
327+ Button {
328+ id: cancelButton
332329 Layout .fillWidth : true
333- Layout .preferredHeight : cancelButton .implicitHeight
334- Layout .topMargin : 20
335- Layout .bottomMargin : 20
336- }
337- Item {
338- WarningButton {
339- id: confirmButton
340- text: qsTr (" Uninstall" )
341- onClicked: {
342- DesktopIntegration .uninstallApp (confirmUninstallDlg .appId )
343- confirmUninstallDlg .close ()
344- }
345- anchors .centerIn : parent
330+ text: qsTr (" Cancel" )
331+ onClicked: {
332+ confirmUninstallDlg .close ()
346333 }
334+ }
335+ WarningButton {
336+ id: confirmButton
347337 Layout .fillWidth : true
348- Layout .preferredHeight : confirmButton .implicitHeight
349- Layout .topMargin : 20
350- Layout .bottomMargin : 20
338+ text: qsTr (" Confirm" )
339+ onClicked: {
340+ DesktopIntegration .uninstallApp (confirmUninstallDlg .appId )
341+ confirmUninstallDlg .close ()
342+ }
351343 }
352344 }
353345 }
You can’t perform that action at this time.
0 commit comments