use the same co-ordinate system as when actually rotating; prevents an iritating jump
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758485
This commit is contained in:
parent
3328d293ae
commit
b1d5d22ffe
@ -239,7 +239,7 @@ void AppletHandle::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
||||
moveBy((rect.width() - newWidth) / 2, (rect.height() - newHeight) / 2);
|
||||
m_scaleWidth = m_scaleHeight = 0;
|
||||
}
|
||||
QRectF rect(boundingRect());
|
||||
QRectF rect = QRectF(m_applet->pos(), m_applet->size());
|
||||
QPointF center = rect.center();
|
||||
|
||||
QTransform matrix;
|
||||
|
Loading…
Reference in New Issue
Block a user