summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent286a073085c1920cf891f479eb1a5f70b1c4daac (diff)
downloadQt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.zip
Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.gz
Qt-45f9759f884ae34cd7e52ad5aebe23549cd4f6be.tar.bz2
Remove dead performance measurement code from QML
Diffstat (limited to 'tools')
-rw-r--r--tools/qml/qmlruntime.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 6660947..d4ceb0b 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -51,7 +51,6 @@
#include <qdeclarativeengine.h>
#include <qdeclarativenetworkaccessmanagerfactory.h>
#include "qdeclarative.h"
-#include <private/qperformancelog_p_p.h>
#include <private/qabstractanimation_p.h>
#include <QAbstractAnimation>
#include "deviceskin.h"
@@ -1221,7 +1220,6 @@ void QDeclarativeViewer::keyPressEvent(QKeyEvent *event)
<< "F5 - reload QML\n"
<< "F6 - show object tree\n"
<< "F7 - show timing\n"
- << "F8 - show performance (if available)\n"
<< "F9 - toggle video recording\n"
<< "F10 - toggle orientation\n"
<< "device keys: 0=quit, 1..8=F1..F8"
@@ -1233,9 +1231,6 @@ void QDeclarativeViewer::keyPressEvent(QKeyEvent *event)
takeSnapShot();
} else if (event->key() == Qt::Key_F5 || (event->key() == Qt::Key_5 && devicemode)) {
reload();
- } else if (event->key() == Qt::Key_F8 || (event->key() == Qt::Key_8 && devicemode)) {
- QPerformanceLog::displayData();
- QPerformanceLog::clear();
} else if (event->key() == Qt::Key_F9 || (event->key() == Qt::Key_9 && devicemode)) {
toggleRecording();
} else if (event->key() == Qt::Key_F10) {