summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-12-08 23:37:11 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-12-08 23:37:11 (GMT)
commit3ed9d026dd6ca23802f59bfc22333a8e753fa1dc (patch)
treeda3a9ab14dddc7c7d568ca340e778a8bec72ad2a /src/gui/graphicsview
parentfd4813062ce0851ddad4fe19358e4086e42efaa5 (diff)
downloadQt-3ed9d026dd6ca23802f59bfc22333a8e753fa1dc.zip
Qt-3ed9d026dd6ca23802f59bfc22333a8e753fa1dc.tar.gz
Qt-3ed9d026dd6ca23802f59bfc22333a8e753fa1dc.tar.bz2
Fix crash.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index dd76f1c..9e6fcc0 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -1328,6 +1328,7 @@ QGraphicsItem::~QGraphicsItem()
d_ptr->removeExtraItemCache();
clearFocus();
+ d_ptr->subFocusItem = 0;
// Update focus scope item ptr.
QGraphicsItem *p = d_ptr->parent;