summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml4
-rw-r--r--mobile-widgets/qml/TripDetails.qml2
-rw-r--r--mobile-widgets/qml/mobile-resources.qrc2
3 files changed, 3 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 9a185789c..57ef6c884 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -220,8 +220,8 @@ Kirigami.Page {
actions.main: Kirigami.Action {
icon {
- name: state !== "view" ? subsurfaceTheme.iconStyle + "/document-save.svg" :
- subsurfaceTheme.iconStyle + "/document-edit.svg"
+ name: state !== "view" ? ":/icons/document-save.svg" :
+ ":/icons/document-edit.svg"
color: subsurfaceTheme.primaryColor
}
text: state !== "view" ? qsTr("Save edits") : qsTr("Edit dive")
diff --git a/mobile-widgets/qml/TripDetails.qml b/mobile-widgets/qml/TripDetails.qml
index eca51653d..bbf95cf23 100644
--- a/mobile-widgets/qml/TripDetails.qml
+++ b/mobile-widgets/qml/TripDetails.qml
@@ -49,7 +49,7 @@ Kirigami.Page {
property QtObject saveAction: Kirigami.Action {
icon {
- name: subsurfaceTheme.iconStyle + "/document-save.svg"
+ name: ":/icons/document-save.svg"
color: enabled ? subsurfaceTheme.primaryColor : subsurfaceTheme.backgroundColor
}
text: enabled ? qsTr("Save edits") : ""
diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
index f7075556b..c76e4b7de 100644
--- a/mobile-widgets/qml/mobile-resources.qrc
+++ b/mobile-widgets/qml/mobile-resources.qrc
@@ -98,9 +98,7 @@
<file alias="icons/dialog-cancel.svg">kirigami/icons/dialog-cancel.svg</file>
<file alias="icons/distribute-horizontal-x.svg">kirigami/icons/distribute-horizontal-x.svg</file>
<file alias="icons/document-edit.svg">kirigami/icons/document-edit.svg</file>
- <file alias="icons-dark/document-edit.svg">kirigami/icons-dark/document-edit.svg</file>
<file alias="icons/document-save.svg">kirigami/icons/document-save.svg</file>
- <file alias="icons-dark/document-save.svg">kirigami/icons-dark/document-save.svg</file>
<file alias="icons/go-up.svg">kirigami/icons/go-up.svg</file>
<file alias="icons/gps.svg">kirigami/icons/gps.svg</file>
<file alias="icons/handle-left.svg">kirigami/icons/handle-left.svg</file>