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:
Marco Bubke
2012-10-04 17:44:48 +02:00
parent fb276230fe
commit 3982bc22d7
5 changed files with 13 additions and 12 deletions
@@ -55,7 +55,7 @@ protected:
private:
ObjectNodeInstanceWeakPointer m_nodeInstance;
QString m_prefix;
QWeakPointer<QQmlContext> m_context;
QPointer<QQmlContext> m_context;
};
} // namespace Internal