forked from qt-creator/qt-creator
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:
committed by
Aurindam Jana
parent
3cce72dcf5
commit
b533cea366
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user