Commit 10bd10a3 authored by Claudio Valerio's avatar Claudio Valerio

removed qDebug()

parent 4f8648e8
...@@ -182,8 +182,6 @@ void UBGraphicsDelegateFrame::initializeTransform() ...@@ -182,8 +182,6 @@ void UBGraphicsDelegateFrame::initializeTransform()
bottomLeft = itemTransform.map(itemRect.topLeft()); bottomLeft = itemTransform.map(itemRect.topLeft());
} }
qDebug() << "mMirrorX " << mMirrorX << " ,mMirrorY " << mMirrorY;
QLineF topLine(topLeft, topRight); QLineF topLine(topLeft, topRight);
QLineF leftLine(topLeft, bottomLeft); QLineF leftLine(topLeft, bottomLeft);
qreal width = topLine.length(); qreal width = topLine.length();
...@@ -627,7 +625,6 @@ UBGraphicsDelegateFrame::FrameTool UBGraphicsDelegateFrame::toolFromPos(QPointF ...@@ -627,7 +625,6 @@ UBGraphicsDelegateFrame::FrameTool UBGraphicsDelegateFrame::toolFromPos(QPointF
} }
} }
else if (leftResizeGripRect().contains(pos)){ else if (leftResizeGripRect().contains(pos)){
qDebug() << "LEFT GRIP (" << mMirrorX << ")";
if(mMirrorX){ if(mMirrorX){
return ResizeRight; return ResizeRight;
}else{ }else{
...@@ -636,7 +633,6 @@ UBGraphicsDelegateFrame::FrameTool UBGraphicsDelegateFrame::toolFromPos(QPointF ...@@ -636,7 +633,6 @@ UBGraphicsDelegateFrame::FrameTool UBGraphicsDelegateFrame::toolFromPos(QPointF
return ResizeLeft; return ResizeLeft;
} }
else if (rightResizeGripRect().contains(pos)){ else if (rightResizeGripRect().contains(pos)){
qDebug() << "RIGHT GRIP (" << mMirrorX << ")";
if(mMirrorX){ if(mMirrorX){
return ResizeLeft; return ResizeLeft;
}else{ }else{
...@@ -702,7 +698,6 @@ void UBGraphicsDelegateFrame::refreshGeometry() ...@@ -702,7 +698,6 @@ void UBGraphicsDelegateFrame::refreshGeometry()
QPointF bottomLeft = itemTransform.map(itemRect.bottomLeft()); QPointF bottomLeft = itemTransform.map(itemRect.bottomLeft());
QPointF center = itemTransform.map(itemRect.center()); QPointF center = itemTransform.map(itemRect.center());
qDebug() << topLeft << ", " << topRight << ", " << bottomLeft;
QLineF topLine(topLeft, topRight); QLineF topLine(topLeft, topRight);
qreal angle = topLine.angle(); qreal angle = topLine.angle();
......
Markdown is supported
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