diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-12-08 23:37:11 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-12-08 23:37:11 (GMT) |
commit | 3ed9d026dd6ca23802f59bfc22333a8e753fa1dc (patch) | |
tree | da3a9ab14dddc7c7d568ca340e778a8bec72ad2a /src/gui/graphicsview | |
parent | fd4813062ce0851ddad4fe19358e4086e42efaa5 (diff) | |
download | Qt-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.cpp | 1 |
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; |