forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: QWeakPointer -> QPointer
In Qt5 QPointer should be used instead of QWeakPointer fo QObject tracking. Change-Id: Ic9cdfaea77574bcf866716ded62bbf2d350d02f8 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -55,7 +55,7 @@ protected:
|
||||
private:
|
||||
ObjectNodeInstanceWeakPointer m_nodeInstance;
|
||||
QString m_prefix;
|
||||
QWeakPointer<QQmlContext> m_context;
|
||||
QPointer<QQmlContext> m_context;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user