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/qdeclarativetext.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/qdeclarativetext.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index 05139f6..b0b5f6d 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -43,8 +43,6 @@ #include "qdeclarativetext_p_p.h" #include <qdeclarativestyledtext_p.h> -#include <qfxperf_p_p.h> - #include <QTextLayout> #include <QTextLine> #include <QTextDocument> @@ -152,9 +150,6 @@ void QDeclarativeText::setFont(const QFont &font) void QDeclarativeText::setText(const QString &n) { -#ifdef Q_ENABLE_PERFORMANCE_LOG - QDeclarativePerfTimer<QDeclarativePerf::QDeclarativeText_setText> st; -#endif Q_D(QDeclarativeText); if (d->text == n) return; @@ -876,9 +871,6 @@ void QDeclarativeText::paint(QPainter *p, const QStyleOptionGraphicsItem *, QWid void QDeclarativeText::componentComplete() { Q_D(QDeclarativeText); -#ifdef Q_ENABLE_PERFORMANCE_LOG - QDeclarativePerfTimer<QDeclarativePerf::TextComponentComplete> cc; -#endif QDeclarativeItem::componentComplete(); if (d->dirty) { d->updateLayout(); |