Fix the build.

This commit is contained in:
Adam Treat 2023-05-23 18:19:36 -04:00 committed by AT
parent bcce93555a
commit b36a520207

View File

@ -649,9 +649,9 @@ Window {
anchors.fill: parent anchors.fill: parent
source: "qrc:/gpt4all/icons/thumbs_up.svg" source: "qrc:/gpt4all/icons/thumbs_up.svg"
} }
Accessible.role = Accessible.Button Accessible.role: Accessible.Button
Accessible.name = qsTr("Thumbs up") Accessible.name: qsTr("Thumbs up")
Accessible.description = qsTr("Gives a thumbs up to the response") Accessible.description: qsTr("Gives a thumbs up to the response")
onClicked: { onClicked: {
if (thumbsUpState && !thumbsDownState) if (thumbsUpState && !thumbsDownState)
return return
@ -685,9 +685,9 @@ Window {
anchors.fill: parent anchors.fill: parent
source: "qrc:/gpt4all/icons/thumbs_down.svg" source: "qrc:/gpt4all/icons/thumbs_down.svg"
} }
Accessible.role = Accessible.Button Accessible.role: Accessible.Button
Accessible.name = qsTr("Thumbs down") Accessible.name: qsTr("Thumbs down")
Accessible.description = qsTr("Opens thumbs down dialog") Accessible.description: qsTr("Opens thumbs down dialog")
onClicked: { onClicked: {
thumbsDownDialog.open() thumbsDownDialog.open()
} }