Fix various leaks relating to use of Core::NavigationView

Change-Id: I8ba508b279376047bcf7ae17dbdadba70ec13582
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2020-01-23 12:11:59 +01:00
parent 5fc456dd22
commit 2c295905a9
5 changed files with 8 additions and 8 deletions

View File

@@ -170,7 +170,7 @@ QList<QToolButton *> NavigationWidget::createToolButtons()
// full projects mode
if (!fullProjectsModeButton) {
// create a button
fullProjectsModeButton = new QToolButton();
fullProjectsModeButton = new QToolButton(this);
fullProjectsModeButton->setIcon(
::Utils::CodeModelIcon::iconForType(::Utils::CodeModelIcon::Class));
fullProjectsModeButton->setCheckable(true);