mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
This should fix compilation error on ARM platform.
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@7266 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cc16649a01
commit
ea7ee298d7
@ -236,7 +236,7 @@ void QgsComposition::contentsMousePressEvent(QMouseEvent* e)
|
||||
mLastPoint = p;
|
||||
|
||||
double x,y;
|
||||
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
|
||||
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
|
||||
|
||||
switch ( mTool ) {
|
||||
case Select:
|
||||
@ -395,7 +395,7 @@ void QgsComposition::contentsMouseMoveEvent(QMouseEvent* e)
|
||||
case Select:
|
||||
if ( mSelectedItem ) {
|
||||
double x,y;
|
||||
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
|
||||
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
|
||||
|
||||
mSelectedItem->moveBy ( x - mLastX, y - mLastY );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user