summaryrefslogtreecommitdiff
path: root/src/declarative/scenegraph/qsgdefaultglyphnode.cpp
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-11-14 10:35:51 +1000
committerCharles Yin <charles.yin@nokia.com>2011-11-14 10:35:51 +1000
commitfc54db69809a16f613f65a2761fab55d5911b02c (patch)
treea00d9284eb13f81f5b195f8a4c6cfee03edb4f17 /src/declarative/scenegraph/qsgdefaultglyphnode.cpp
parent35275892ca8a7046451b8e943985dd779fee4794 (diff)
parent2557ff5a940242b398dee65c3c79cec088164e32 (diff)
downloadqtdeclarative-fc54db69809a16f613f65a2761fab55d5911b02c.tar.gz
Merge branch 'master' into animation-refactor
Conflicts: tools/qmlviewer/qdeclarativetester.cpp tools/qmlviewer/qmlruntime.cpp Change-Id: I48f0eb02df27e4b524f45927939b4c257452b0aa
Diffstat (limited to 'src/declarative/scenegraph/qsgdefaultglyphnode.cpp')
-rw-r--r--src/declarative/scenegraph/qsgdefaultglyphnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/scenegraph/qsgdefaultglyphnode.cpp b/src/declarative/scenegraph/qsgdefaultglyphnode.cpp
index b8cd247908..f41fbe486a 100644
--- a/src/declarative/scenegraph/qsgdefaultglyphnode.cpp
+++ b/src/declarative/scenegraph/qsgdefaultglyphnode.cpp
@@ -65,7 +65,7 @@ void QSGDefaultGlyphNode::setColor(const QColor &color)
m_color = color;
if (m_material != 0) {
m_material->setColor(color);
- setMaterial(m_material); // Indicate the material state has changed
+ markDirty(DirtyMaterial);
}
}