aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetailsView.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-20 13:58:04 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-20 14:06:05 -0800
commit3116bc06fb0466e7c38b2ce6c8f0099f091435c2 (patch)
treee70c50f631a6aa3d90ac3bf8802c09f8036fa4eb /qt-mobile/qml/DiveDetailsView.qml
parent60e0a6e833982522e4f59361cc0349f5935b4d4d (diff)
downloadsubsurface-3116bc06fb0466e7c38b2ce6c8f0099f091435c2.tar.gz
QML UI: show date and time for dive
We keep losing the time when people move code around. date really is just the date and doesn't include the time component. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetailsView.qml')
-rw-r--r--qt-mobile/qml/DiveDetailsView.qml11
1 files changed, 1 insertions, 10 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml
index a4a66ec41..3023330d9 100644
--- a/qt-mobile/qml/DiveDetailsView.qml
+++ b/qt-mobile/qml/DiveDetailsView.qml
@@ -37,14 +37,6 @@ Item {
rowSpacing: MobileComponents.Units.smallSpacing * 2
columnSpacing: MobileComponents.Units.smallSpacing
- /*Connections {
- target: diveDetailsWindow
- onDive_idChanged: {
- qmlProfile.diveId = diveDetailsWindow.dive_id
- qmlProfile.update()
- }
- }*/
-
MobileComponents.Heading {
id: detailsViewHeading
Layout.fillWidth: true
@@ -79,7 +71,7 @@ Item {
opacity: 0.6
}
MobileComponents.Label {
- text: dive.date
+ text: dive.date + " " + dive.time
Layout.columnSpan: 2
}
MobileComponents.Label {
@@ -123,7 +115,6 @@ Item {
anchors.fill: parent
}
- //Rectangle { color: "green"; opacity: 0.4; anchors.fill: parent } // used for debugging the dive profile sizing, will be removed later
}
MobileComponents.Heading {