Rename source property of MessageDelegateContextMenu
Starting with Qt6.6, this collides with a FINAL property of Loader and thus doesn't run
This commit is contained in:
@@ -622,7 +622,7 @@ ColumnLayout {
|
|||||||
selectedText: selectedText,
|
selectedText: selectedText,
|
||||||
author: root.author,
|
author: root.author,
|
||||||
eventId: root.eventId,
|
eventId: root.eventId,
|
||||||
source: root.jsonSource,
|
eventSource: root.jsonSource,
|
||||||
eventType: root.delegateType,
|
eventType: root.delegateType,
|
||||||
plainText: root.plainText,
|
plainText: root.plainText,
|
||||||
htmlText: root.display,
|
htmlText: root.display,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ MessageDelegateContextMenu {
|
|||||||
icon.name: "code-context"
|
icon.name: "code-context"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
applicationWindow().pageStack.pushDialogLayer('qrc:/MessageSourceSheet.qml', {
|
applicationWindow().pageStack.pushDialogLayer('qrc:/MessageSourceSheet.qml', {
|
||||||
sourceText: root.source
|
sourceText: root.eventSource
|
||||||
}, {
|
}, {
|
||||||
title: i18n("Message Source"),
|
title: i18n("Message Source"),
|
||||||
width: Kirigami.Units.gridUnit * 25
|
width: Kirigami.Units.gridUnit * 25
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Loader {
|
|||||||
required property var author
|
required property var author
|
||||||
required property string eventId
|
required property string eventId
|
||||||
property var eventType
|
property var eventType
|
||||||
required property string source
|
required property string eventSource
|
||||||
property string selectedText: ""
|
property string selectedText: ""
|
||||||
required property string plainText
|
required property string plainText
|
||||||
property string htmlText: undefined
|
property string htmlText: undefined
|
||||||
@@ -85,7 +85,7 @@ Loader {
|
|||||||
icon.name: "code-context"
|
icon.name: "code-context"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
applicationWindow().pageStack.pushDialogLayer('qrc:/MessageSourceSheet.qml', {
|
applicationWindow().pageStack.pushDialogLayer('qrc:/MessageSourceSheet.qml', {
|
||||||
sourceText: root.source
|
sourceText: root.eventSource
|
||||||
}, {
|
}, {
|
||||||
title: i18n("Message Source"),
|
title: i18n("Message Source"),
|
||||||
width: Kirigami.Units.gridUnit * 25
|
width: Kirigami.Units.gridUnit * 25
|
||||||
|
|||||||
Reference in New Issue
Block a user