[QGIS Commit] r13420 - trunk/qgis/src/gui/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue May 4 05:04:38 EDT 2010


Author: wonder
Date: 2010-05-04 05:04:36 -0400 (Tue, 04 May 2010)
New Revision: 13420

Modified:
   trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Log:
MarkerLine symbol layer widget: Fixed handling of floating point marker intervals


Modified: trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp
===================================================================
--- trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp	2010-05-04 08:51:43 UTC (rev 13419)
+++ trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp	2010-05-04 09:04:36 UTC (rev 13420)
@@ -366,7 +366,7 @@
   mLayer = static_cast<QgsMarkerLineSymbolLayerV2*>( layer );
 
   // set values
-  spinInterval->setValue(( int ) mLayer->interval() );
+  spinInterval->setValue( mLayer->interval() );
   chkRotateMarker->setChecked( mLayer->rotateMarker() );
   spinOffset->setValue( mLayer->offset() );
   updateMarker();



More information about the QGIS-commit mailing list