summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 522ed30e9..8af834d4d 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -531,10 +531,13 @@ void LocationFilter::hideEvent(QHideEvent *event)
MultiFilterSortModel::instance()->removeFilterModel(LocationFilterModel::instance());
QWidget::hideEvent(event);
}
+
MultiFilter::MultiFilter(QWidget *parent) : QScrollArea(parent)
{
QWidget *w = new QWidget();
QHBoxLayout *l = new QHBoxLayout();
+ QVBoxLayout *v = new QVBoxLayout();
+
TagFilter *tagFilter = new TagFilter();
int minimumHeight = tagFilter->ui.filterInternalList->height() +
@@ -554,5 +557,5 @@ MultiFilter::MultiFilter(QWidget *parent) : QScrollArea(parent)
setWidget(w);
w->resize(w->width(), minimumHeight + dummyList->sizeHintForRow(0) * 5 );
- setMinimumHeight(w->height());
+ setMinimumHeight(w->height() + 5);
}