summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qblendstate.cpp
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/qblendstate.cpp
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/qblendstate.cpp')
-rw-r--r--src/render/frontend/qblendstate.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/frontend/qblendstate.cpp b/src/render/frontend/qblendstate.cpp
index 99ba09c32..d19a9b73f 100644
--- a/src/render/frontend/qblendstate.cpp
+++ b/src/render/frontend/qblendstate.cpp
@@ -146,13 +146,6 @@ void QBlendState::setDstAlpha(QBlendState::Blending dstAlpha)
}
}
-QNode *QBlendState::doClone() const
-{
- QBlendState *clone = new QBlendState();
- clone->d_func()->copy(d_func());
- return clone;
-}
-
} // Qt3D
QT_END_NAMESPACE