summaryrefslogtreecommitdiffstats
path: root/src/render/defaults/qdiffusespecularmapmaterial.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-01-17 12:29:15 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-01-17 17:20:14 +0000
commit8b6f4aec9910cfdd347fc3c503d794b585107a2b (patch)
treed3808e0a5219e6bc54efdc4d05405b8d9fb5edbe /src/render/defaults/qdiffusespecularmapmaterial.cpp
parent0327e2e22840e669e1653a34bbd1a68b2bfdca9a (diff)
Fix deprecation warnings
Change-Id: I1ec0536ba81c738fc330f7f4c615a4e216645ea0 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/defaults/qdiffusespecularmapmaterial.cpp')
-rw-r--r--src/render/defaults/qdiffusespecularmapmaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/defaults/qdiffusespecularmapmaterial.cpp b/src/render/defaults/qdiffusespecularmapmaterial.cpp
index 18a78db3f..7e5bb760b 100644
--- a/src/render/defaults/qdiffusespecularmapmaterial.cpp
+++ b/src/render/defaults/qdiffusespecularmapmaterial.cpp
@@ -126,7 +126,7 @@ void QDiffuseSpecularMapMaterialPrivate::init()
Q_Q(QDiffuseSpecularMapMaterial);
m_annotation->setParent(q);
m_annotation->setName(QStringLiteral("renderingStyle"));
- m_annotation->setValue("forward");
+ m_annotation->setValue(QStringLiteral("forward"));
m_diffuseSpecularMapGL3Technique->addAnnotation(m_annotation);
m_diffuseSpecularMapGL2Technique->addAnnotation(m_annotation);