Commit de562250 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Crash in component diagram after deleting component'

In case a QGraphicsItem instance is on a scene and should be
deleted QGraphicsScenePrivate::removeItemHelper() is called.
The documentation say it leaves stale index in the tree, which let
QGraphicsScene crash on the next paint.

For now using the index has been disabled to avoid this issue.

FIXED-IN:2.23.1 (KDE Applications 17.08.1)
parent ffdd4bfa
......@@ -158,6 +158,9 @@ UMLScene::UMLScene(UMLFolder *parentFolder, UMLView *view)
// // settings for background
// setBackgroundBrush(QColor(195, 195, 195));
m_layoutGrid = new LayoutGrid(this);
// fix crash caused by Qt stale item issue see
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment