Connect Tagfilter to its parrent

This plugs another leak found by valgrind.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-12-18 10:47:00 -08:00 committed by Dirk Hohndel
parent 4af39b7e37
commit 85d3817bd2

View file

@ -611,7 +611,7 @@ MultiFilter::MultiFilter(QWidget *parent) : QWidget(parent)
QWidget *expandedWidget = new QWidget();
QHBoxLayout *l = new QHBoxLayout();
TagFilter *tagFilter = new TagFilter();
TagFilter *tagFilter = new TagFilter(this);
int minimumHeight = tagFilter->ui.filterInternalList->height() +
tagFilter->ui.verticalLayout->spacing() * tagFilter->ui.verticalLayout->count();