summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-18 04:56:22 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-22 03:21:39 (GMT)
commit45f9759f884ae34cd7e52ad5aebe23549cd4f6be (patch)
treec8b280c2dce8698f424e14215b711162cfa38b7a /src/imports
parent286a073085c1920cf891f479eb1a5f70b1c4daac (diff)
downloadQt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.zip
Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.gz
Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.bz2
Remove dead performance measurement code from QML
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/particles/qdeclarativeparticles.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/imports/particles/qdeclarativeparticles.cpp b/src/imports/particles/qdeclarativeparticles.cpp
index bb6669a..83be59b 100644
--- a/src/imports/particles/qdeclarativeparticles.cpp
+++ b/src/imports/particles/qdeclarativeparticles.cpp
@@ -44,7 +44,6 @@
#include <private/qdeclarativeitem_p.h>
#include <private/qdeclarativepixmapcache_p.h>
-#include <private/qfxperf_p_p.h>
#include <QtCore/QAbstractAnimation>
#include <QPainter>
@@ -567,9 +566,6 @@ void QDeclarativeParticlesPrivate::tick(int time)
void QDeclarativeParticlesPrivate::createParticle(int time)
{
-#ifdef Q_ENABLE_PERFORMANCE_LOG
- QDeclarativePerfTimer<QDeclarativePerf::CreateParticle> x;
-#endif
Q_Q(QDeclarativeParticles);
QDeclarativeParticle p(time);
p.x = q->x() + q->width() * qreal(qrand()) / RAND_MAX - image.width()/2.0;