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>
This commit is contained in:
Dirk Hohndel 2016-01-10 22:06:25 -08:00
parent a27d78af03
commit 56b3ecb3f6

View file

@ -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 {