summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-02-23 08:35:05 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-02-28 16:28:43 +0000
commita563b09776cbb1151d804b07c48b3028a1807efd (patch)
tree8962fd34ca18c79396b21a7c5cb9771694dde716 /examples
parent7ccaf0f9a917f49e1cde551c2a4f4dcff575406c (diff)
Fix: remove QByteArrayLiteral used when setting SceneChange property names
This was probably forgotten when the property name was changed fron QByteArray to char *. Change-Id: Idd6a988703a241519b3aba7b1d127adae5e1375e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/materials-cpp/rotatingtrefoilknot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/materials-cpp/rotatingtrefoilknot.cpp b/examples/materials-cpp/rotatingtrefoilknot.cpp
index b5c04a597..833d82d37 100644
--- a/examples/materials-cpp/rotatingtrefoilknot.cpp
+++ b/examples/materials-cpp/rotatingtrefoilknot.cpp
@@ -46,7 +46,7 @@ RotatingTrefoilKnot::RotatingTrefoilKnot(Qt3D::QNode *parent)
m_thetaAnimation->setEndValue(360.0f);
m_thetaAnimation->setLoopCount(-1);
m_thetaAnimation->setTargetObject(xaxisRotateTransform());
- m_thetaAnimation->setPropertyName(QByteArrayLiteral("angle"));
+ m_thetaAnimation->setPropertyName("angle");
m_thetaAnimation->start();
m_phiAnimation->setDuration(2000);
@@ -54,7 +54,7 @@ RotatingTrefoilKnot::RotatingTrefoilKnot(Qt3D::QNode *parent)
m_phiAnimation->setEndValue(360.0f);
m_phiAnimation->setLoopCount(-1);
m_phiAnimation->setTargetObject(yaxisRotateTransform());
- m_phiAnimation->setPropertyName(QByteArrayLiteral("angle"));
+ m_phiAnimation->setPropertyName("angle");
m_phiAnimation->start();
}