diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-07-20 23:18:21 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-07-20 23:18:21 (GMT) |
commit | b325c90e5a0e5088aa8723d943f4c38b14048bd7 (patch) | |
tree | a40dc45970cb406dc50d3b16153d4a16389213fb /src/declarative/graphicsitems/qdeclarativeitem.cpp | |
parent | 7725da34a828df00feb289515c11fa8aea1a55d8 (diff) | |
download | Qt-b325c90e5a0e5088aa8723d943f4c38b14048bd7.zip Qt-b325c90e5a0e5088aa8723d943f4c38b14048bd7.tar.gz Qt-b325c90e5a0e5088aa8723d943f4c38b14048bd7.tar.bz2 |
Compile: include <float.h> for usage of FLT_MAX.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index 54aa3a9..1b0d7ef 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -59,14 +59,11 @@ #include <QEvent> #include <QGraphicsSceneMouseEvent> #include <QtCore/qnumeric.h> -#include <QtCore/qmath.h> #include <QtScript/qscriptengine.h> #include <QtGui/qgraphicstransform.h> #include <qlistmodelinterface_p.h> -#ifndef FLT_MAX -#define FLT_MAX 1E+37 -#endif +#include <float.h> QT_BEGIN_NAMESPACE |