QmlProfiler: clean up old code

Change-Id: Id464b073eb05341e48876ace9ff39e16d6302144
Reviewed-on: http://codereview.qt.nokia.com/530
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-06-20 18:18:28 +02:00
parent b7796436a2
commit 98ed0164c5
5 changed files with 2 additions and 96 deletions

View File

@@ -42,8 +42,6 @@ Rectangle {
property bool xRay: false //useful for seeing "nested" ranges (but redraw is buggy -- QGV problem?)
property Item currentItem //currently selected item in the view
property bool zooming:false
// move the cursor in the editor
signal updateCursorPosition
property string fileName: ""
@@ -184,10 +182,8 @@ Rectangle {
property real prevXStep: -1
property real possibleEndTime: startTime + (rangeMover.width*Plotter.xScale(canvas))
onPossibleEndTimeChanged: {
var set = ((zooming && prevXStep != canvas.canvasWindow.x) || !zooming);
prevXStep = canvas.canvasWindow.x;
if (set)
endTime = possibleEndTime
endTime = possibleEndTime
}
onEndTimeChanged: updateTimeline()