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:
Christian Kandeler
2012-09-24 13:48:18 +02:00
parent f21a408b51
commit aef4280bc1
23 changed files with 64 additions and 54 deletions

View File

@@ -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;
};