Skip to content
Permalink
Browse files
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk@13731 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 14, 2010
1 parent 344ed62 commit 04699d204e93f16defc83dc66067bcdd7c6e0a5c
@@ -25,7 +25,7 @@ class QMenu;

#include <QTreeWidget>

class QgsRendererRulesTreeWidget : public QTreeWidget
class GUI_EXPORT QgsRendererRulesTreeWidget : public QTreeWidget
{
Q_OBJECT

@@ -116,9 +116,9 @@ void QgsResidualPlotItem::paint( QPainter* painter, const QStyleOptionGraphicsIt
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
{

0 comments on commit 04699d2

Please sign in to comment.