mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-05 18:40:50 +00:00
dedup qml: move accessible properties to MyButton
This commit is contained in:
@@ -119,15 +119,11 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
||||
spacing: 10
|
||||
MyButton {
|
||||
text: qsTr("Enable")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Enable opt-in button")
|
||||
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
|
||||
}
|
||||
MyButton {
|
||||
text: qsTr("Cancel")
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: text
|
||||
Accessible.description: qsTr("Cancel opt-in button")
|
||||
DialogButtonBox.buttonRole: DialogButtonBox.RejectRole
|
||||
}
|
||||
|
Reference in New Issue
Block a user