aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Murillo Bernardes <mfbernardes@gmail.com>2018-05-26 22:16:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-27 16:58:17 -0700
commit424efb77201de370d35b10028eba40736a0fe955 (patch)
tree4aa8a5828589dc2cadc8ef15d0aeec702bb971c1
parent7d2c08aed017c60511266d703ec8ffdbe2cb3cd9 (diff)
downloadsubsurface-424efb77201de370d35b10028eba40736a0fe955.tar.gz
mobile: make list action buttons appear again
Dive list: on holding an item, the delete button was not showing the icon. Show GPS fixes: when swiping an item icons were not being shown. Partial for bug #1267 Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
-rw-r--r--mobile-widgets/qml/DiveList.qml2
-rw-r--r--mobile-widgets/qml/GpsList.qml4
2 files changed, 4 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 798f7a730..31b2204fa 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -211,6 +211,8 @@ Kirigami.ScrollablePage {
verticalCenter: parent.verticalCenter
}
source: ":/icons/trash-empty"
+ width: Kirigami.Units.iconSizes.smallMedium
+ height: width
}
MouseArea {
anchors.fill: parent
diff --git a/mobile-widgets/qml/GpsList.qml b/mobile-widgets/qml/GpsList.qml
index 326ce37ef..786b0e71f 100644
--- a/mobile-widgets/qml/GpsList.qml
+++ b/mobile-widgets/qml/GpsList.qml
@@ -74,7 +74,7 @@ Kirigami.ScrollablePage {
actions: [
Kirigami.Action {
icon {
- name: "trash-empty"
+ name: ":/icons/trash-empty"
}
onTriggered: {
print("delete this!")
@@ -83,7 +83,7 @@ Kirigami.ScrollablePage {
},
Kirigami.Action {
icon {
- name: "gps"
+ name: ":/icons/gps"
}
onTriggered: {
showMap()