diff options
Diffstat (limited to 'src/core/qpostman.cpp')
-rw-r--r-- | src/core/qpostman.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/qpostman.cpp b/src/core/qpostman.cpp index 88054586e..d9a8738f7 100644 --- a/src/core/qpostman.cpp +++ b/src/core/qpostman.cpp @@ -49,11 +49,10 @@ namespace Qt3D { class QPostmanPrivate : public QObjectPrivate { public: - QPostmanPrivate(QPostman *qq) + QPostmanPrivate() : QObjectPrivate() , m_scene(Q_NULLPTR) { - q_ptr = qq; } Q_DECLARE_PUBLIC(QPostman) @@ -61,7 +60,7 @@ public: }; QPostman::QPostman(QObject *parent) - : QObject(*new QPostmanPrivate(this), parent) + : QObject(*new QPostmanPrivate, parent) { qRegisterMetaType<QSceneChangePtr >("QSceneChangePtr"); } |