removed duplicated code

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent ee069c75ef
commit 87c48bbbf8
  1. 1
      src/board/UBBoardController.cpp
  2. 6
      src/domain/UBGraphicsScene.cpp

@ -1122,7 +1122,6 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QUrl
qDebug() << "accepting mime type" << mimeType << "as vecto image";
UBGraphicsSvgItem* svgItem = mActiveScene->addSvg(sourceUrl, pPos, pData);
svgItem->setSourceUrl(sourceUrl);
if (isBackground)

@ -836,12 +836,6 @@ void UBGraphicsScene::eraseLineTo(const QPointF &pEndPoint, const qreal &pWidth)
removeItem(intersectedPolygonItem);
if (bApplyTransform)
intersectedPolygonItem->setTransform(t);
removeItem(intersectedPolygonItem);
if (bApplyTransform)
intersectedPolygonItem->setTransform(t);
}
if (!intersectedItems.empty())

Loading…
Cancel
Save