Change the name of this property to not conflict. (#2480)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT 2024-06-28 13:34:26 -04:00 committed by GitHub
parent 2c8d634b5b
commit dc6d01a0bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -850,7 +850,7 @@ Rectangle {
onLinkHovered: function (link) { onLinkHovered: function (link) {
if (!currentResponse || !currentChat.responseInProgress) if (!currentResponse || !currentChat.responseInProgress)
statusBar.hoveredLink = link statusBar.externalHoveredLink = link
} }
Menu { Menu {
@ -1330,7 +1330,7 @@ Rectangle {
Text { Text {
id: statusBar id: statusBar
property string hoveredLink: "" property string externalHoveredLink: ""
anchors.top: textInputView.bottom anchors.top: textInputView.bottom
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.right: parent.right anchors.right: parent.right
@ -1340,12 +1340,12 @@ Rectangle {
horizontalAlignment: Qt.AlignRight horizontalAlignment: Qt.AlignRight
verticalAlignment: Qt.AlignVCenter verticalAlignment: Qt.AlignVCenter
color: theme.mutedTextColor color: theme.mutedTextColor
visible: currentChat.tokenSpeed !== "" || hoveredLink !== "" visible: currentChat.tokenSpeed !== "" || externalHoveredLink !== ""
elide: Text.ElideRight elide: Text.ElideRight
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
text: { text: {
if (hoveredLink !== "") if (externalHoveredLink !== "")
return hoveredLink return externalHoveredLink
const segments = [currentChat.tokenSpeed]; const segments = [currentChat.tokenSpeed];
const device = currentChat.device; const device = currentChat.device;