From 01026046451ef706bb184fad01032bb4c11add35 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 9 Jun 2014 20:32:44 -0700 Subject: Don't show the average depth for the selected dives Being shown between the deepest and shallowest dive's max depth it confuses a lot of people - the average depth is frequently less than the shallowest of the dives, so at first glance it looks like the "average" is less than the "minimum". So having three numbers grouped like this that use different algorithms is just distracting. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index c0fdeca6e..19b47c872 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -505,7 +505,9 @@ void MainTab::updateDiveInfo(int dive) ui.salinityText->clear(); ui.depthLimits->setMaximum(get_depth_string(stats_selection.max_depth, true)); ui.depthLimits->setMinimum(get_depth_string(stats_selection.min_depth, true)); - ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true)); + // the overall average depth is really confusing when listed between the + // deepest and shallowest dive - let's just not set it + // ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true)); ui.depthLimits->overrideMaxToolTipText(QObject::tr("Deepest Dive")); ui.depthLimits->overrideMinToolTipText(QObject::tr("Shallowest Dive")); ui.sacLimits->setMaximum(get_volume_string(stats_selection.max_sac, true).append(tr("/min"))); -- cgit v1.2.3-70-g09d2