diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2018-11-16 15:23:39 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-12-14 01:05:18 +0800 |
commit | 705e61b62c87842c8057e185f68d4d7a00cd17ec (patch) | |
tree | e878fb62df3b44c8c05f96bc27309badb33f0b26 /desktop-widgets/filterwidget2.cpp | |
parent | 201f0c8f89d6d7df96fd220ea2c0d0977c9b7f20 (diff) | |
download | subsurface-705e61b62c87842c8057e185f68d4d7a00cd17ec.tar.gz |
Hide unimplemented components from search
Those fields are not ready yet, hide them.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'desktop-widgets/filterwidget2.cpp')
-rw-r--r-- | desktop-widgets/filterwidget2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop-widgets/filterwidget2.cpp b/desktop-widgets/filterwidget2.cpp index 473a4ad54..d120ffe4d 100644 --- a/desktop-widgets/filterwidget2.cpp +++ b/desktop-widgets/filterwidget2.cpp @@ -18,6 +18,12 @@ FilterWidget2::FilterWidget2(QWidget* parent) ui->maxAirTemp->setValue(data.maxAirTemp); ui->minWaterTemp->setValue(data.minWaterTemp); ui->maxWaterTemp->setValue(data.maxWaterTemp); + + // TODO: unhide this when we discover how to search for equipment. + ui->equipment->hide(); + ui->labelEquipment->hide(); + ui->invertFilter->hide(); + ui->to->setDate(data.to.date()); connect(ui->maxRating, &StarWidget::valueChanged, |