diff --git a/src/adaptors/UBSvgSubsetAdaptor.cpp b/src/adaptors/UBSvgSubsetAdaptor.cpp index f3033a1f..a275c5fb 100644 --- a/src/adaptors/UBSvgSubsetAdaptor.cpp +++ b/src/adaptors/UBSvgSubsetAdaptor.cpp @@ -1066,15 +1066,15 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene(int pageIndex) // Get the items from the scene QList items = mScene->items(); - int strokes = 0; int polygons = 0; - foreach(QGraphicsItem *item, items) { - if (item->type() == UBGraphicsPolygonItem::Type) { - polygons++; - } else if (item->type() == UBGraphicsStrokesGroup::Type) { - strokes++; - } - } - qDebug() << "---Strokes count" << strokes << "Polygons count" << polygons; +// int strokes = 0; int polygons = 0; +// foreach(QGraphicsItem *item, items) { +// if (item->type() == UBGraphicsPolygonItem::Type) { +// polygons++; +// } else if (item->type() == UBGraphicsStrokesGroup::Type) { +// strokes++; +// } +// } +// qDebug() << "---Strokes count" << strokes << "Polygons count" << polygons; qSort(items.begin(), items.end(), itemZIndexComp);