Commit 63f3a510 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: for new code use QPointer instead of QWeakPointer

QWeakPointer is deprecated for tracking QObjects in Qt 5.

Change-Id: I3e9089b25f43b42a478aa4cd4073cbdfd0da3823
Reviewed-by: default avatarChristian Kandeler <>
parent 2d500117
......@@ -31,6 +31,7 @@
#include <qmlmodelview.h>
#include <QPointer>
namespace QmlDesigner {
......@@ -91,7 +92,7 @@ protected:
void logInstance(const QString &title, const QString &message, bool highlight = false);
private: //variables
QWeakPointer<DebugViewWidget> m_debugViewWidget;
QPointer<DebugViewWidget> m_debugViewWidget;
} // namespace Internal
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment