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/simplewidgets.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop-widgets/simplewidgets.cpp') diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index ceddf691c..992c681f3 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -128,6 +128,12 @@ void MinMaxAvgWidget::overrideMaxToolTipText(const QString &newTip) d->maxValue->setToolTip(newTip); } +void MinMaxAvgWidget::setAvgVisibility(const bool visible) +{ + d->avgIco->setVisible(visible); + d->avgValue->setVisible(visible); +} + RenumberDialog *RenumberDialog::instance() { static RenumberDialog *self = new RenumberDialog(MainWindow::instance()); -- cgit v1.2.3-70-g09d2