diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/search/dolphinfacetswidget.cpp | 5 | ||||
| -rw-r--r-- | src/search/dolphinfacetswidget.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp index ffc07442a..501f3a956 100644 --- a/src/search/dolphinfacetswidget.cpp +++ b/src/search/dolphinfacetswidget.cpp @@ -104,6 +104,11 @@ void DolphinFacetsWidget::changeEvent(QEvent *event) } } +QSize DolphinFacetsWidget::minimumSizeHint() const +{ + return QSize(0, m_typeSelector->minimumHeight()); +} + void DolphinFacetsWidget::resetSearchTerms() { m_typeSelector->setCurrentIndex(0); diff --git a/src/search/dolphinfacetswidget.h b/src/search/dolphinfacetswidget.h index 1d266ac97..c7358e212 100644 --- a/src/search/dolphinfacetswidget.h +++ b/src/search/dolphinfacetswidget.h @@ -48,6 +48,8 @@ public: void setFacetType(const QString &type); + QSize minimumSizeHint() const override; + Q_SIGNALS: void facetChanged(); |
