summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-31 17:59:01 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-31 17:59:01 +1000
commit9a65798daf3dc0e7991305ce759d42d40d2dc98c (patch)
tree07bd8a275f3e02832e8277bcba9849f1330d965e /qt-ui/maintab.cpp
parent5c2a2691fdccb9d355fe7f71c19aa104b9d570f4 (diff)
downloadsubsurface-9a65798daf3dc0e7991305ce759d42d40d2dc98c.tar.gz
Use a slightly shorter date string for Info tab
This way the spacing of the elements looks nicer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 1de80271e..e810dd6ee 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -203,7 +203,7 @@ void MainTab::updateDiveInfo(int dive)
ui->airTemperatureText->setText(get_temperature_string(d->airtemp, TRUE));
ui->gasUsedText->setText(get_volume_string(get_gas_used(d), TRUE));
ui->oxygenHeliumText->setText(get_gaslist(d));
- ui->dateText->setText(get_dive_date_string(d->when));
+ ui->dateText->setText(get_short_dive_date_string(d->when));
ui->diveTimeText->setText(QString::number((int)((d->duration.seconds + 30) / 60)));
if (prevd)
ui->surfaceIntervalText->setText(get_time_string(d->when - (prevd->when + prevd->duration.seconds), 4));