From d1880119ea6874107f4c47a90a2e66efa3bb9498 Mon Sep 17 00:00:00 2001 From: Anatoly Mihalchenko Date: Thu, 13 Sep 2012 15:53:00 +0300 Subject: [PATCH] Compilation error fix --- src/domain/UBGraphicsScene.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/domain/UBGraphicsScene.cpp b/src/domain/UBGraphicsScene.cpp index 9c3d2e16..ec2489d4 100644 --- a/src/domain/UBGraphicsScene.cpp +++ b/src/domain/UBGraphicsScene.cpp @@ -775,9 +775,9 @@ void UBGraphicsScene::eraseLineTo(const QPointF &pEndPoint, const qreal &pWidth) QList collidItems = items(eraserBoundingRect, Qt::IntersectsItemBoundingRect); QList intersectedItems; - QList> intersectedPolygons; - //qDebug() << "Start, eraser is " << eraserPath; + typedef QList POLYGONSLIST; + QList intersectedPolygons; #pragma omp parallel for for(int i=0; i(); @@ -805,7 +804,6 @@ void UBGraphicsScene::eraseLineTo(const QPointF &pEndPoint, const qreal &pWidth) QPainterPath newPath = itemPainterPath.subtracted(eraserPath); #pragma omp critical { - //qDebug() << itemPainterPath << " - modify to - " << newPath; intersectedItems << pi; intersectedPolygons << newPath.simplified().toFillPolygons(pi->sceneTransform().inverted()); }