From 6d508fa954a2d90e90dff5a2e509aecd13b18f8f Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Tue, 12 Apr 2016 15:23:26 +0200 Subject: QNode: make cleanup a private slot QT3D_CLONEABLE now implements a default dtor that calls _q_ cleanup QT3D_CLONEABLE_CUSTOM_DTOR is used for classes that really need to implement their own dtor but they need to invoke _q_cleanup manually Change-Id: I2937a3b9edeb5a763749f0044360d78ab4461a5e Task-number: QTBUG-51464 Reviewed-by: Sean Harmer --- src/extras/geometries/qplanegeometry.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/extras/geometries/qplanegeometry.cpp') diff --git a/src/extras/geometries/qplanegeometry.cpp b/src/extras/geometries/qplanegeometry.cpp index a0c0ffbc0..49beee4be 100644 --- a/src/extras/geometries/qplanegeometry.cpp +++ b/src/extras/geometries/qplanegeometry.cpp @@ -287,14 +287,6 @@ QPlaneGeometry::QPlaneGeometry(QPlaneGeometryPrivate &dd, QNode *parent) d->init(); } -/*! - * Destroys this geometry. - */ -QPlaneGeometry::~QPlaneGeometry() -{ - QGeometry::cleanup(); -} - /*! * Updates vertices based on resolution. */ -- cgit v1.2.3