From 705e61b62c87842c8057e185f68d4d7a00cd17ec Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 16 Nov 2018 15:23:39 +0100 Subject: Hide unimplemented components from search Those fields are not ready yet, hide them. Signed-off-by: Tomaz Canabrava --- desktop-widgets/filterwidget2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop-widgets/filterwidget2.cpp') 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, -- cgit v1.2.3-70-g09d2