aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-08 14:22:52 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-13 11:32:27 -0700
commit56713842b90c6bf329c636812ba985c793c81be3 (patch)
treeb5f66a5143bbeef7b6b5f8ab4ff77e3a729c76c3 /mobile-widgets/qml
parente3eaf03d2fcab8dc3cd655ae298e30daa53b9d8a (diff)
downloadsubsurface-56713842b90c6bf329c636812ba985c793c81be3.tar.gz
Mobile: ensure consistent path when accessing arrow icons
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml6
-rw-r--r--mobile-widgets/qml/mobile-resources.qrc8
2 files changed, 8 insertions, 6 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 79f2e57b3..f06863dbd 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -243,7 +243,7 @@ Kirigami.ApplicationWindow {
text: qsTr("Dive management")
Kirigami.Action {
icon {
- name: ":/org/kde/kirigami/icons/go-previous-symbolic.svg"
+ name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
@@ -331,7 +331,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
Kirigami.Action {
icon {
- name: ":/org/kde/kirigami/icons/go-previous-symbolic.svg"
+ name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
@@ -403,7 +403,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
visible: PrefDisplay.show_developer
Kirigami.Action {
icon {
- name: ":/org/kde/kirigami/icons/go-previous-symbolic.svg"
+ name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
index 989a7e936..eb4f91ef2 100644
--- a/mobile-widgets/qml/mobile-resources.qrc
+++ b/mobile-widgets/qml/mobile-resources.qrc
@@ -81,9 +81,11 @@
<file alias="icons/view-readermode.svg">kirigami/icons/view-readermode.svg</file>
</qresource>
- <qresource prefix="/org/kde/kirigami/icons/">
+ <qresource prefix="/">
<!-- ********** kirigami icons ********** -->
- <file alias="go-next-symbolic.svg">kirigami/icons/go-next.svg</file>
- <file alias="go-previous-symbolic.svg">kirigami/icons/go-previous.svg</file>
+ <file alias="/org/kde/kirigami/templates/private/go-next-symbolic">kirigami/icons/go-next.svg</file>
+ <file alias="/org/kde/kirigami/templates/private/go-previous-symbolic">kirigami/icons/go-previous.svg</file>
+ <file alias="go-next-symbolic">kirigami/icons/go-next.svg</file>
+ <file alias="go-previous-symbolic">kirigami/icons/go-previous.svg</file>
</qresource>
</RCC>