From 424efb77201de370d35b10028eba40736a0fe955 Mon Sep 17 00:00:00 2001 From: Murillo Bernardes Date: Sat, 26 May 2018 22:16:59 +0200 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 2 ++ mobile-widgets/qml/GpsList.qml | 4 ++-- 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() -- cgit v1.2.3-70-g09d2