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:
parent
4af39b7e37
commit
85d3817bd2
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user