Skip to content
Permalink
Browse files
fix build with Qt 4.4
git-svn-id: http://svn.osgeo.org/qgis/trunk@14030 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 8, 2010
1 parent a22aff8 commit 68e21e72bf8ecfff13559bd4711848ff9418f2d1
@@ -186,7 +186,11 @@ void QgsGraduatedSymbolRendererV2::stopRender( QgsRenderContext& context )
it->symbol()->startRender( context );

// cleanup mTempSymbols
#if QT_VERSION < 0x40600
QMap<QgsSymbolV2*, QgsSymbolV2*>::iterator it2 = mTempSymbols.begin();
#else
QHash<QgsSymbolV2*, QgsSymbolV2*>::iterator it2 = mTempSymbols.begin();
#endif
for ( ; it2 != mTempSymbols.end(); ++it2 )
{
it2.value()->stopRender( context );
@@ -131,7 +131,11 @@ class CORE_EXPORT QgsGraduatedSymbolRendererV2 : public QgsFeatureRendererV2
int mRotationFieldIdx, mSizeScaleFieldIdx;

//! temporary symbols, used for data-defined rotation and scaling
#if QT_VERSION < 0x40600
QMap<QgsSymbolV2*, QgsSymbolV2*> mTempSymbols;
#else
QHash<QgsSymbolV2*, QgsSymbolV2*> mTempSymbols;
#endif

QgsSymbolV2* symbolForValue( double value );
};
@@ -25,6 +25,7 @@
#include <list>
#include <set>
#include <stack>
#include <QPair>
class QgsRectangle;
class QgsCoordinateReferenceSystem;

@@ -35,6 +35,7 @@
#include <QFile>
#include <QUrl>
#include <QWidget>
#include <QPair>
#include <cfloat>

static const QString TEXT_PROVIDER_KEY = "WFS";

0 comments on commit 68e21e7

Please sign in to comment.