forked from qt-creator/qt-creator
LocatorWidget: Don't leak m_centeredPopupAction
Amends d3354d1999
Change-Id: I9cd308c83300928e8dafade291ee4559f885ab5f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -561,7 +561,7 @@ bool CompletionList::eventFilter(QObject *watched, QEvent *event)
|
||||
LocatorWidget::LocatorWidget(Locator *locator)
|
||||
: m_locatorModel(new LocatorModel(this))
|
||||
, m_filterMenu(new QMenu(this))
|
||||
, m_centeredPopupAction(new QAction(tr("Open as Centered Popup")))
|
||||
, m_centeredPopupAction(new QAction(tr("Open as Centered Popup"), this))
|
||||
, m_refreshAction(new QAction(tr("Refresh"), this))
|
||||
, m_configureAction(new QAction(ICore::msgShowOptionsDialog(), this))
|
||||
, m_fileLineEdit(new Utils::FancyLineEdit)
|
||||
|
||||
Reference in New Issue
Block a user