mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
a27d78af03
commit
56b3ecb3f6
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ MobileComponents.Page {
|
||||||
detailsWindow.divemaster = dive.divemaster
|
detailsWindow.divemaster = dive.divemaster
|
||||||
detailsWindow.notes = dive.notes
|
detailsWindow.notes = dive.notes
|
||||||
detailsWindow.number = dive.number
|
detailsWindow.number = dive.number
|
||||||
detailsWindow.date = dive.date
|
detailsWindow.date = dive.date + " " + dive.time
|
||||||
// detailsWindow.weight = dive.weights
|
// detailsWindow.weight = dive.weights
|
||||||
stackView.push(detailsWindow)
|
stackView.push(detailsWindow)
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ MobileComponents.Page {
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
id: dateLabel
|
id: dateLabel
|
||||||
text: dive.date
|
text: dive.date + " " + dive.time
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
anchors {
|
anchors {
|
||||||
|
|
Loading…
Add table
Reference in a new issue