|
|
@ -1270,7 +1270,7 @@ void UBGraphicsScene::clearAnnotations() |
|
|
|
while (itItems.hasNext()) |
|
|
|
while (itItems.hasNext()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
QGraphicsItem* item = itItems.next(); |
|
|
|
QGraphicsItem* item = itItems.next(); |
|
|
|
UBGraphicsPolygonItem* pi = qgraphicsitem_cast<UBGraphicsPolygonItem*>(item); |
|
|
|
UBGraphicsStrokesGroup* pi = qgraphicsitem_cast<UBGraphicsStrokesGroup*>(item); |
|
|
|
if (pi) |
|
|
|
if (pi) |
|
|
|
{ |
|
|
|
{ |
|
|
|
removeItem(item); |
|
|
|
removeItem(item); |
|
|
|