projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e0cb13a
)
Remove superfluous function call
author
Alan Alpert
<416365416c@gmail.com>
Sat, 17 Nov 2012 06:37:56 +0000 (22:37 -0800)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Thu, 29 Nov 2012 23:22:22 +0000 (
00:22
+0100)
Because we just set pixmapChanged, we're certain to update the texture
in the next if block.
Change-Id: I83436f846a3e965b324ff6ebf057708fe8c3b82b
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/items/qquickimage.cpp
patch
|
blob
|
history
diff --git
a/src/quick/items/qquickimage.cpp
b/src/quick/items/qquickimage.cpp
index
632fddf
..
0da1855
100644
(file)
--- a/
src/quick/items/qquickimage.cpp
+++ b/
src/quick/items/qquickimage.cpp
@@
-565,7
+565,6
@@
QSGNode *QQuickImage::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *)
if (!node) {
d->pixmapChanged = true;
node = d->sceneGraphContext()->createImageNode();
- node->setTexture(texture);
}
if (d->pixmapChanged) {