mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue