diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-11-30 11:13:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-30 07:18:39 -0800 |
commit | 51d298c8d5d739c2aeaebd4dbea289564bd3e260 (patch) | |
tree | 30ed66dbba178db71f2dabe5b52a2e4f1b1b9373 /qt-ui/maintab.cpp | |
parent | 197b8e0beeafdf389383bf21e3924a3ba4621c46 (diff) | |
download | subsurface-51d298c8d5d739c2aeaebd4dbea289564bd3e260.tar.gz |
Separate text labels for air and water temperatures
The "air / water Temperatures" label didn't look to good.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 15641cb9f..cf9a30c21 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -352,8 +352,9 @@ void MainTab::updateDiveInfo(int dive) ui.visibilityLabel->setVisible(false); ui.tagWidget->setVisible(false); ui.TagLabel->setVisible(false); - ui.TemperaturesLabel->setVisible(false); + ui.airTempLabel->setVisible(false); ui.airtemp->setVisible(false); + ui.waterTempLabel->setVisible(false); ui.watertemp->setVisible(false); // rename the remaining fields and fill data from selected trip dive_trip_t *currentTrip = *mainWindow()->dive_list()->selectedTrips().begin(); @@ -378,8 +379,9 @@ void MainTab::updateDiveInfo(int dive) ui.DivemasterLabel->setVisible(true); ui.TagLabel->setVisible(true); ui.tagWidget->setVisible(true); - ui.TemperaturesLabel->setVisible(true); + ui.airTempLabel->setVisible(true); ui.airtemp->setVisible(true); + ui.waterTempLabel->setVisible(true); ui.watertemp->setVisible(true); /* and fill them from the dive */ ui.rating->setCurrentStars(d->rating); |