diff options
author | Anton Lundin <glance@acc.umu.se> | 2017-01-10 16:56:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-26 21:27:37 -0700 |
commit | cd27c1cd442018c3ab7e68aabaaa0b8cb0b21a7b (patch) | |
tree | da2522f6b58aaac4a784314c98c0b95f4ed94641 /desktop-widgets/simplewidgets.cpp | |
parent | 1ec0d43e63e5796247e0f55963eea06ecf039c4f (diff) | |
download | subsurface-cd27c1cd442018c3ab7e68aabaaa0b8cb0b21a7b.tar.gz |
Hide avg max depth thingie
We don't set it so just hide it.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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()); |