Fix memory leak

Change-Id: Ie6faa0ba729e5359c64ea684c85fab1e188e2136
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Daniel Teske
2012-06-28 12:15:56 +02:00
committed by hjk
parent 3c404484de
commit 7e7f5aced6

View File

@@ -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;
} }