[QGIS Commit] r8408 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed May 7 03:52:20 EDT 2008


Author: mhugent
Date: 2008-05-07 03:52:20 -0400 (Wed, 07 May 2008)
New Revision: 8408

Modified:
   trunk/qgis/src/app/qgsmaptoolmovefeature.cpp
Log:
Fix for bug #1057

Modified: trunk/qgis/src/app/qgsmaptoolmovefeature.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolmovefeature.cpp	2008-05-07 07:45:51 UTC (rev 8407)
+++ trunk/qgis/src/app/qgsmaptoolmovefeature.cpp	2008-05-07 07:52:20 UTC (rev 8408)
@@ -71,7 +71,7 @@
   //find first geometry under mouse cursor and store iterator to it
   QgsPoint layerCoords = toLayerCoords((QgsMapLayer*)vlayer, e->pos());
   QSettings settings;
-  int searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toInt();
+  double searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toDouble();
   QgsRect selectRect(layerCoords.x()-searchRadius, layerCoords.y()-searchRadius, \
 		     layerCoords.x()+searchRadius, layerCoords.y()+searchRadius);
 



More information about the QGIS-commit mailing list