TextEditor: comment smart pointer usage in proposal widget

Change-Id: I29fd72a99d55a9539d0319cb76bf616ec55abf9e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2018-02-15 09:15:49 +01:00
parent a4b5fc00a8
commit 9c091fedb1

View File

@@ -103,7 +103,7 @@ struct FunctionHintProposalWidgetPrivate
const QWidget *m_underlyingWidget = nullptr;
CodeAssistant *m_assistant = nullptr;
FunctionHintProposalModelPtr m_model;
QPointer<Utils::FakeToolTip> m_popupFrame;
QPointer<Utils::FakeToolTip> m_popupFrame; // guard WA_DeleteOnClose widget
QLabel *m_numberLabel = nullptr;
QLabel *m_hintLabel = nullptr;
QWidget *m_pager = nullptr;