summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/GpsList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/GpsList.qml')
-rw-r--r--qt-mobile/qml/GpsList.qml13
1 files changed, 11 insertions, 2 deletions
diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml
index f0afc56db..baa65e3b9 100644
--- a/qt-mobile/qml/GpsList.qml
+++ b/qt-mobile/qml/GpsList.qml
@@ -28,11 +28,12 @@ MobileComponents.Page {
Component {
id: gpsDelegate
- MobileComponents.ListItem {
+ MobileComponents.ListItemWithActions {
id: gpsFix
enabled: true
width: parent.width
property int horizontalPadding: MobileComponents.Units.gridUnit / 2 - MobileComponents.Units.smallSpacing + 1
+
Item {
width: parent.width - MobileComponents.Units.gridUnit
height: childrenRect.height - MobileComponents.Units.smallSpacing
@@ -84,8 +85,16 @@ MobileComponents.Page {
font.pointSize: subsurfaceTheme.smallPointSize
}
}
-
}
+ actions: [
+ Action {
+ iconName: "dialog-cancel"
+ onTriggered: {
+ print("delete this!")
+ }
+ }
+
+ ]
}
}