summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-10-03 09:54:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-07 17:43:34 +0300
commita8f45406bdad1bd10854d609b326b5567ef92353 (patch)
tree36094f33dfe1401b3f7a43debb4962188bca323a /mobile-widgets/qml/DiveList.qml
parent684e3eec6bf816cd3faddeb900a03824184082a4 (diff)
downloadsubsurface-a8f45406bdad1bd10854d609b326b5567ef92353.tar.gz
QML UI, consistency: add text attribute for all actions
Something I only see on mobile-on-desktop, so at this point in time not very relevant to the device apps. When hovering on the action button, a toast message shows a hint box. These where empty in some cases. So, just give the actions a text attribute where it was missing. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index d676549b4..b353b135c 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -404,6 +404,7 @@ Kirigami.ScrollablePage {
name: ":/icons/downloadDC"
color: subsurfaceTheme.primaryColor
}
+ text: qsTr("Download dives")
onTriggered: {
showDownloadPage()
}
@@ -413,6 +414,7 @@ Kirigami.ScrollablePage {
icon {
name: ":/icons/list-add"
}
+ text: qsTr("Add dive")
onTriggered: {
startAddDive()
}