diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2016-01-17 12:53:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-26 09:16:24 +0100 |
commit | b73f56bc43dac5d43d3d8fe16c9d40ed5987ab1d (patch) | |
tree | 171db29747f97a5c9d2299eade25dd050be19945 /qt-ui | |
parent | 09cec219f79f67eab4a0524b6116ea2920bb00cb (diff) | |
download | subsurface-b73f56bc43dac5d43d3d8fe16c9d40ed5987ab1d.tar.gz |
Hide the time from trip tab
This hides the start time when viewing trip details.
See #964
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index ede3cb5ef..50f7ba58c 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -524,6 +524,8 @@ void MainTab::updateDiveInfo(bool clear) ui.waterTempLabel->setVisible(false); ui.watertemp->setVisible(false); ui.dateEdit->setReadOnly(true); + ui.label->setVisible(false); + ui.timeEdit->setVisible(false); ui.diveTripLocation->show(); ui.location->hide(); ui.editDiveSiteButton->hide(); @@ -563,6 +565,8 @@ void MainTab::updateDiveInfo(bool clear) ui.waterTempLabel->setVisible(true); ui.watertemp->setVisible(true); ui.dateEdit->setReadOnly(false); + ui.label->setVisible(true); + ui.timeEdit->setVisible(true); /* and fill them from the dive */ ui.rating->setCurrentStars(displayed_dive.rating); ui.visibility->setCurrentStars(displayed_dive.visibility); |