diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-18 04:56:22 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-22 03:21:39 (GMT) |
commit | 45f9759f884ae34cd7e52ad5aebe23549cd4f6be (patch) | |
tree | c8b280c2dce8698f424e14215b711162cfa38b7a /src/declarative/graphicsitems/qdeclarativepath.cpp | |
parent | 286a073085c1920cf891f479eb1a5f70b1c4daac (diff) | |
download | Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.zip Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.gz Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.bz2 |
Remove dead performance measurement code from QML
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepath.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepath.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepath.cpp b/src/declarative/graphicsitems/qdeclarativepath.cpp index 80586b8..20fa983 100644 --- a/src/declarative/graphicsitems/qdeclarativepath.cpp +++ b/src/declarative/graphicsitems/qdeclarativepath.cpp @@ -42,8 +42,6 @@ #include "qdeclarativepath_p.h" #include "qdeclarativepath_p_p.h" -#include <qfxperf_p_p.h> - #include <QSet> #include <private/qbezier_p.h> @@ -356,9 +354,6 @@ static inline QBezier nextBezier(const QPainterPath &path, int *from, qreal *bez void QDeclarativePath::createPointCache() const { Q_D(const QDeclarativePath); -#ifdef Q_ENABLE_PERFORMANCE_LOG - QDeclarativePerfTimer<QDeclarativePerf::QDeclarativePathViewPathCache> pc; -#endif qreal pathLength = d->_path.length(); const int points = int(pathLength*2); const int lastElement = d->_path.elementCount() - 1; |