forked from qt-creator/qt-creator
Do not use QWeakPointer to track QObjects.
This use case is deprecated in Qt 5. Use QPointer instead. Change-Id: Id6c32542032656d7cb31cf838d93a680ab9e9327 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include <qmldebug/qv8profilerclient.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <QWeakPointer>
|
||||
#include <QPointer>
|
||||
#include <QTimer>
|
||||
#include <QMessageBox>
|
||||
|
||||
@@ -54,8 +54,8 @@ public:
|
||||
QmlProfilerStateManager* profilerState;
|
||||
|
||||
QmlDebugConnection *connection;
|
||||
QWeakPointer<QmlProfilerTraceClient> qmlclientplugin;
|
||||
QWeakPointer<QV8ProfilerClient> v8clientplugin;
|
||||
QPointer<QmlProfilerTraceClient> qmlclientplugin;
|
||||
QPointer<QV8ProfilerClient> v8clientplugin;
|
||||
|
||||
QTimer connectionTimer;
|
||||
int connectionAttempts;
|
||||
|
||||
Reference in New Issue
Block a user