Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 04699d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgsrulebasedrendererv2widget.h
Expand Up @@ -25,7 +25,7 @@ class QMenu;

#include <QTreeWidget>

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

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/georeferencer/qgsresidualplotitem.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 04699d2

Please sign in to comment.