[QGIS Commit] r10012 - trunk/qgis/src/core/composer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Jan 24 19:18:49 EST 2009
Author: jef
Date: 2009-01-24 19:18:49 -0500 (Sat, 24 Jan 2009)
New Revision: 10012
Modified:
trunk/qgis/src/core/composer/qgscomposition.cpp
Log:
fix warning (and snapping bug)
Modified: trunk/qgis/src/core/composer/qgscomposition.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposition.cpp 2009-01-24 16:45:34 UTC (rev 10011)
+++ trunk/qgis/src/core/composer/qgscomposition.cpp 2009-01-25 00:18:49 UTC (rev 10012)
@@ -589,7 +589,7 @@
QPointF QgsComposition::snapPointToGrid( const QPointF& scenePoint ) const
{
- if ( !mSnapToGrid || ( !mSnapGridResolution > 0 ) )
+ if ( !mSnapToGrid || mSnapGridResolution <= 0 )
{
return scenePoint;
}
More information about the QGIS-commit
mailing list