From cd27c1cd442018c3ab7e68aabaaa0b8cb0b21a7b Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Tue, 10 Jan 2017 16:56:55 +0100 Subject: Hide avg max depth thingie We don't set it so just hide it. Signed-off-by: Anton Lundin --- desktop-widgets/tab-widgets/TabDiveStatistics.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop-widgets/tab-widgets/TabDiveStatistics.cpp') diff --git a/desktop-widgets/tab-widgets/TabDiveStatistics.cpp b/desktop-widgets/tab-widgets/TabDiveStatistics.cpp index 6a7edcee4..661aecfdc 100644 --- a/desktop-widgets/tab-widgets/TabDiveStatistics.cpp +++ b/desktop-widgets/tab-widgets/TabDiveStatistics.cpp @@ -50,6 +50,9 @@ void TabDiveStatistics::updateData() // deepest and shallowest dive - let's just not set it // ui->depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true)); + // Also hide the avgIco, so its clear that its not there. + ui->depthLimits->overrideAvgToolTipText(""); + ui->depthLimits->setAvgVisibility(false); if (stats_selection.max_sac.mliter) ui->sacLimits->setMaximum(get_volume_string(stats_selection.max_sac, true).append(tr("/min"))); -- cgit v1.2.3-70-g09d2