aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 22:06:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 22:07:31 -0800
commit56b3ecb3f66a700d4b54269d7140d44a9cccd947 (patch)
tree568ef3d40b9d69f279dd7b90054bb341b047f464 /qt-mobile/qml/DiveList.qml
parenta27d78af03d3b622b32b3347daf7e727708b9f40 (diff)
downloadsubsurface-56b3ecb3f66a700d4b54269d7140d44a9cccd947.tar.gz
QML UI: show dive time again
In commit 25aa80846b ("Move Dive class from qthelper.h/cpp to it's own file") the meaning of getting the "date" of a dive was changed to just be the date and not the date and time. That's not what the QML code expected. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r--qt-mobile/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index 53d71d0c3..06da8dee1 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -40,7 +40,7 @@ MobileComponents.Page {
detailsWindow.divemaster = dive.divemaster
detailsWindow.notes = dive.notes
detailsWindow.number = dive.number
- detailsWindow.date = dive.date
+ detailsWindow.date = dive.date + " " + dive.time
// detailsWindow.weight = dive.weights
stackView.push(detailsWindow)
}
@@ -64,7 +64,7 @@ MobileComponents.Page {
}
MobileComponents.Label {
id: dateLabel
- text: dive.date
+ text: dive.date + " " + dive.time
opacity: 0.6
font.pointSize: subsurfaceTheme.smallPointSize
anchors {