forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user