QmlProfiler: removed old fps code

Change-Id: If9ae003d1e6204450f931b72c950525b0b476f74
Reviewed-on: http://codereview.qt.nokia.com/1602
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-07-13 14:10:54 +02:00
committed by Aurindam Jana
parent 3cce72dcf5
commit b533cea366
2 changed files with 2 additions and 47 deletions

View File

@@ -130,15 +130,6 @@ Rectangle {
//handle debug data coming from C++
Connections {
target: connection
onEvent: {
if (root.dataAvailable) {
root.clearData();
}
if (!root.dataAvailable && event === 0) { //### only handle paint event
Plotter.values.push(time);
}
}
onRange: {
if (root.dataAvailable) {
@@ -161,7 +152,6 @@ Rectangle {
onComplete: {
root.dataAvailable = true;
Plotter.calcFps();
if (Plotter.ranges.length > 0) {
view.visible = true;
view.setRanges(Plotter.ranges);