summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/filterwidget2.cpp6
-rw-r--r--desktop-widgets/filterwidget2.ui2
2 files changed, 7 insertions, 1 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,
diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui
index bf6d6a8ed..978dafc6e 100644
--- a/desktop-widgets/filterwidget2.ui
+++ b/desktop-widgets/filterwidget2.ui
@@ -141,7 +141,7 @@
<widget class="QDoubleSpinBox" name="maxWaterTemp"/>
</item>
<item row="10" column="0">
- <widget class="QLabel" name="label_10">
+ <widget class="QLabel" name="labelEquipment">
<property name="text">
<string>Equipment</string>
</property>