DesktopSystemDialog: Do not override a property from the parent

wilder-5.24
Aleix Pol 4 years ago
parent 77218c7278
commit 3015ebf461
  1. 6
      components/dialogs/DesktopSystemDialog.qml

@ -21,9 +21,9 @@ Kirigami.AbstractApplicationWindow {
default property Item mainItem
/**
* Title of the dialog.
* Main text of the dialog.
*/
property string title: ""
property alias mainText: titleHeading.text
/**
* Subtitle of the dialog.
@ -112,9 +112,9 @@ Kirigami.AbstractApplicationWindow {
Layout.fillWidth: true
spacing: Kirigami.Units.largeSpacing
Kirigami.Heading {
id: titleHeading
Layout.fillWidth: true
level: 2
text: root.title
wrapMode: Text.Wrap
elide: Text.ElideRight
}

Loading…
Cancel
Save