Fix the build.

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

View File

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