projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bbed9e
)
Don't relayout if item is removed from scene
author
Alan Alpert
<aalpert@blackberry.com>
Thu, 11 Apr 2013 20:35:24 +0000
(13:35 -0700)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Mon, 15 Apr 2013 18:13:26 +0000
(20:13 +0200)
Task-number: QTBUG-28160
Change-Id: I208f213e2de6b530dd0965b301d046aee0182d9a
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
src/quick/items/qquickitem.cpp
patch
|
blob
|
history
diff --git
a/src/quick/items/qquickitem.cpp
b/src/quick/items/qquickitem.cpp
index
d31e142
..
59ab56d
100644
(file)
--- a/
src/quick/items/qquickitem.cpp
+++ b/
src/quick/items/qquickitem.cpp
@@
-2252,7
+2252,8
@@
void QQuickItem::setParentItem(QQuickItem *parentItem)
}
}
- d->resolveLayoutMirror();
+ if (d->parentItem)
+ d->resolveLayoutMirror();
d->itemChange(ItemParentHasChanged, d->parentItem);