summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qcuboidmesh.h
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2014-10-15 11:20:02 +0200
committerSean Harmer <sean.harmer@kdab.com>2014-10-15 19:37:49 +0200
commit0f1d0ff5b3adb16afcda091e4ff4657f53581f79 (patch)
treebc82ff1bd2f31fe5fa54590ab3f1500d716b07eb /src/render/frontend/qcuboidmesh.h
parenta4b9ce44ae244104a941981405742ee42d53ebe0 (diff)
Hide doClone implementations behind a macro
This way we will avoid inconsistencies. It also means making some of the copy() implementations more clever. Change-Id: Ic79c9ec7c9c32f8951d5d9f5184592880bf8d5fd Reviewed-by: James Turner <james.turner@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/frontend/qcuboidmesh.h')
-rw-r--r--src/render/frontend/qcuboidmesh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/frontend/qcuboidmesh.h b/src/render/frontend/qcuboidmesh.h
index 8b8087dd6..33b79050a 100644
--- a/src/render/frontend/qcuboidmesh.h
+++ b/src/render/frontend/qcuboidmesh.h
@@ -98,7 +98,7 @@ protected:
QCuboidMesh(QCuboidMeshPrivate &dd, QNode *parent = 0);
private:
- QCuboidMesh *doClone() const Q_DECL_OVERRIDE;
+ QT3D_CLONEABLE(QCuboidMesh)
Q_DECLARE_PRIVATE(QCuboidMesh)
};