mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-06 11:00:48 +00:00
add missing accessible props for buttons, remove forgotten duplicate accessible props
This commit is contained in:
@@ -38,8 +38,6 @@ Drawer {
|
||||
anchors.right: parent.right
|
||||
font.pixelSize: theme.fontSizeLarger
|
||||
text: qsTr("New chat")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Use this to launch an external application that will check for updates to the installer")
|
||||
onClicked: {
|
||||
LLM.chatListModel.addChat();
|
||||
@@ -257,8 +255,6 @@ Drawer {
|
||||
anchors.bottom: downloadButton.top
|
||||
anchors.bottomMargin: 10
|
||||
text: qsTr("Updates")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Use this to launch an external application that will check for updates to the installer")
|
||||
onClicked: {
|
||||
if (!LLM.checkForUpdates())
|
||||
@@ -273,8 +269,6 @@ Drawer {
|
||||
anchors.bottom: aboutButton.top
|
||||
anchors.bottomMargin: 10
|
||||
text: qsTr("Downloads")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Use this to launch a dialog to download new models")
|
||||
onClicked: {
|
||||
downloadClicked()
|
||||
@@ -287,8 +281,6 @@ Drawer {
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
text: qsTr("About")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Use this to launch a dialog to show the about page")
|
||||
onClicked: {
|
||||
aboutClicked()
|
||||
|
Reference in New Issue
Block a user