mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
5c2a2691fd
commit
9a65798daf
3 changed files with 22 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue