[QGIS Commit] r8644 - branches/advanced_printing_branch/src/app/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Jun 10 10:17:57 EDT 2008


Author: mhugent
Date: 2008-06-10 10:17:57 -0400 (Tue, 10 Jun 2008)
New Revision: 8644

Modified:
   branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp
Log:
Another fix for item move/resize bounding box

Modified: branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp
===================================================================
--- branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp	2008-06-10 13:49:23 UTC (rev 8643)
+++ branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp	2008-06-10 14:17:57 UTC (rev 8644)
@@ -106,7 +106,6 @@
   mMouseMoveStartPos = event->lastScenePos();
   mLastMouseEventPos = event->lastPos();
   mCurrentMouseMoveAction = mouseMoveActionForPosition(event->pos());
-  setCursor(QCursor(cursorForPosition(event->pos())));
 
   //create and show bounding rectangle
   mBoundingResizeRectangle = new QGraphicsRectItem(0);
@@ -284,7 +283,7 @@
       break;
 
     case QgsComposerItem::moveItem:
-      mx = dx; my = dy;
+      mx = dx; my = dy; rx = 0, ry = 0;
       break;
     }
 }



More information about the QGIS-commit mailing list