aboutsummaryrefslogtreecommitdiff
path: root/mappletrunner
diff options
context:
space:
mode:
authorMarcin Miklas <marcin.miklas@teleca.com>2010-09-21 11:32:45 +0200
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-10-05 13:12:58 +0300
commit6667e26ee8c73fa611dae9097f556b08492cfdb9 (patch)
tree5ac4221111f3094cf3af7fee235253436295bc5b /mappletrunner
parent83a2d00f142345e18d9a05ad858a65e823a4998c (diff)
Changes: Do not reload child items styles with new parent is NULL.
RevBy: Stanislav, Sergiy, Robin Details: Crashes were observed in 0.20.41-1 when MApplicationPage with MList inside was destroyed. Stack traces show that it is caused by calling MWidgetViewPrivate::reloadChildItemStyles which in turn called MListView::applyStyle() when QGraphicsScene::removeItem sets parent of removed item to 0. I updated MWidgetView::notifyItemChange to not call reloadChildItemStyles when new parent of item is NULL. Although from version 0.20.42-1 this crash doesn't reproduce, I think that we should add this additional check. It fixes crash when applied to 0.20.41-1 version and should speed up things a little in current version. Additionally, bugs which were fixed with introduction of reloadChildItemStyles doesn't reappear after adding this additional check. So it shouldn't brake anything.
Diffstat (limited to 'mappletrunner')
0 files changed, 0 insertions, 0 deletions