forked from qt-creator/qt-creator
Fix memory leak
Change-Id: Ie6faa0ba729e5359c64ea684c85fab1e188e2136 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -56,7 +56,7 @@ BaseTreeView::BaseTreeView(QWidget *parent)
|
|||||||
connect(header(), SIGNAL(sectionClicked(int)),
|
connect(header(), SIGNAL(sectionClicked(int)),
|
||||||
SLOT(headerSectionClicked(int)));
|
SLOT(headerSectionClicked(int)));
|
||||||
|
|
||||||
m_adjustColumnsAction = new QAction(tr("Adjust Column Widths to Contents"), 0);
|
m_adjustColumnsAction = new QAction(tr("Adjust Column Widths to Contents"), this);
|
||||||
m_alwaysAdjustColumnsAction = 0;
|
m_alwaysAdjustColumnsAction = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user