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:
@@ -71,6 +71,7 @@
|
||||
#include <QErrorMessage>
|
||||
#include <QFormLayout>
|
||||
#include <QLabel>
|
||||
#include <QPointer>
|
||||
|
||||
using namespace Debugger::Internal;
|
||||
using namespace ProjectExplorer;
|
||||
@@ -262,7 +263,7 @@ public:
|
||||
public:
|
||||
DebuggerRunControl *q;
|
||||
DebuggerEngine *m_engine;
|
||||
const QWeakPointer<RunConfiguration> m_myRunConfiguration;
|
||||
const QPointer<RunConfiguration> m_myRunConfiguration;
|
||||
bool m_running;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user