diff options
Diffstat (limited to 'src/render/frontend/framegraph-components/qcameraselector.cpp')
-rw-r--r-- | src/render/frontend/framegraph-components/qcameraselector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/framegraph-components/qcameraselector.cpp b/src/render/frontend/framegraph-components/qcameraselector.cpp index 695ec37d2..b4dc83727 100644 --- a/src/render/frontend/framegraph-components/qcameraselector.cpp +++ b/src/render/frontend/framegraph-components/qcameraselector.cpp @@ -58,8 +58,8 @@ QCameraSelector::QCameraSelector(QCameraSelectorPrivate &dd, QNode *parent) \class Qt3D::QCameraSelectorPrivate \internal */ -QCameraSelectorPrivate::QCameraSelectorPrivate(Qt3D::QCameraSelector *qq) - : QFrameGraphNodePrivate(qq) +QCameraSelectorPrivate::QCameraSelectorPrivate() + : QFrameGraphNodePrivate() , m_camera(Q_NULLPTR) {} @@ -73,7 +73,7 @@ void QCameraSelector::copy(const QNode *ref) } QCameraSelector::QCameraSelector(Qt3D::QNode *parent) - : QFrameGraphNode(*new QCameraSelectorPrivate(this), parent) + : QFrameGraphNode(*new QCameraSelectorPrivate, parent) {} void QCameraSelector::setCamera(QEntity *camera) |