diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-04-16 17:28:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-16 18:57:08 -0700 |
commit | d2d46d848a9c3fc6df8875e37b0cbee97fd1a217 (patch) | |
tree | 702dc29e8f25519a9ec7582d97c923bee8edd4c2 /mobile-widgets/qml/DiveDetails.qml | |
parent | bb03bd862b65adec0190bd143fffd94ca1ada598 (diff) | |
download | subsurface-d2d46d848a9c3fc6df8875e37b0cbee97fd1a217.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index f82c069bb..30a2b808e 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -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: { |