mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: fix incorrect icon references
Not sure why this has worked in the past - it was simply wrong. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bb03bd862b
commit
d2d46d848a
5 changed files with 37 additions and 37 deletions
|
@ -141,7 +141,7 @@ Kirigami.Page {
|
|||
property QtObject deleteAction: Kirigami.Action {
|
||||
text: qsTr("Delete dive")
|
||||
icon {
|
||||
name: "trash-empty"
|
||||
name: ":/icons/trash-empty"
|
||||
}
|
||||
onTriggered: {
|
||||
var deletedId = currentItem.modelData.dive.id
|
||||
|
@ -158,7 +158,7 @@ Kirigami.Page {
|
|||
property QtObject cancelAction: Kirigami.Action {
|
||||
text: qsTr("Cancel edit")
|
||||
icon {
|
||||
name: "dialog-cancel"
|
||||
name: ":/icons/dialog-cancel"
|
||||
}
|
||||
onTriggered: {
|
||||
endEditMode()
|
||||
|
@ -168,7 +168,7 @@ Kirigami.Page {
|
|||
property QtObject mapAction: Kirigami.Action {
|
||||
text: qsTr("Show on map")
|
||||
icon {
|
||||
name: "gps"
|
||||
name: ":/icons/gps"
|
||||
}
|
||||
onTriggered: {
|
||||
showMap()
|
||||
|
@ -178,7 +178,7 @@ Kirigami.Page {
|
|||
|
||||
actions.main: Kirigami.Action {
|
||||
icon {
|
||||
name: state !== "view" ? "document-save" : "document-edit"
|
||||
name: state !== "view" ? ":/icons/document-save" : ":/icons/document-edit"
|
||||
color: subsurfaceTheme.primaryColor
|
||||
}
|
||||
onTriggered: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue