Commit 66ab5d0e authored by Alexander Stippich's avatar Alexander Stippich

add icons to dialogs

BUG: 418576
parent 345e6ba0
......@@ -100,11 +100,13 @@ Window {
Button {
text: i18n("OK")
icon.name: 'dialog-ok-apply'
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
}
Button {
text: i18n("Apply")
icon.name: 'dialog-ok-apply'
DialogButtonBox.buttonRole: DialogButtonBox.ApplyRole
enabled: config.isDirty
......@@ -112,6 +114,7 @@ Window {
Button {
text: i18n("Cancel")
icon.name: 'dialog-cancel'
DialogButtonBox.buttonRole: DialogButtonBox.RejectRole
}
......
......@@ -193,6 +193,7 @@ Window {
Button {
id: deleteButton
text: i18n("Delete")
icon.name: 'delete'
DialogButtonBox.buttonRole: DialogButtonBox.DestructiveRole
onClicked:
{
......@@ -215,6 +216,7 @@ Window {
enabled: realModel.isDataValid && realModel.isDirty
text: i18n("Apply")
icon.name: 'dialog-ok-apply'
DialogButtonBox.buttonRole: DialogButtonBox.ApplyRole
onClicked:
{
......@@ -226,6 +228,7 @@ Window {
}
Button {
text: i18n("Close")
icon.name: 'dialog-cancel'
DialogButtonBox.buttonRole: DialogButtonBox.DestructiveRole
onClicked: trackMetadata.close()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment