[QGIS Commit] r13731 - in trunk/qgis/src: gui/symbology-ng
plugins/georeferencer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Jun 14 10:18:01 EDT 2010
Author: jef
Date: 2010-06-14 14:18:01 +0000 (Mon, 14 Jun 2010)
New Revision: 13731
Modified:
trunk/qgis/src/gui/symbology-ng/qgsrulebasedrendererv2widget.h
trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp
Log:
fix windows build
Modified: trunk/qgis/src/gui/symbology-ng/qgsrulebasedrendererv2widget.h
===================================================================
--- trunk/qgis/src/gui/symbology-ng/qgsrulebasedrendererv2widget.h 2010-06-14 13:18:34 UTC (rev 13730)
+++ trunk/qgis/src/gui/symbology-ng/qgsrulebasedrendererv2widget.h 2010-06-14 14:18:01 UTC (rev 13731)
@@ -25,7 +25,7 @@
#include <QTreeWidget>
-class QgsRendererRulesTreeWidget : public QTreeWidget
+class GUI_EXPORT QgsRendererRulesTreeWidget : public QTreeWidget
{
Q_OBJECT
Modified: trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp 2010-06-14 13:18:34 UTC (rev 13730)
+++ trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp 2010-06-14 14:18:01 UTC (rev 13731)
@@ -116,9 +116,9 @@
if ( scaleBarWidthUnits < 1 )
{
nDecPlaces = -floor( log10( scaleBarWidthUnits ) );
- scaleBarWidthUnits *= pow( 10.0, nDecPlaces );
+ scaleBarWidthUnits *= pow( 10.0, nDecPlaces );
scaleBarWidthUnits = ( int )( scaleBarWidthUnits + 0.5 );
- scaleBarWidthUnits /= pow( 10.0, nDecPlaces );
+ scaleBarWidthUnits /= pow( 10.0, nDecPlaces );
}
else
{
More information about the QGIS-commit
mailing list