QmlProfiler: Avoid generic property types in QML

Change-Id: I4dddf19d37004f59bfbe75b45e0b626bf1563fa2
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Aurindam Jana
2013-09-03 12:56:29 +02:00
committed by Kai Koehne
parent a2d771b41e
commit c9a851c649
7 changed files with 24 additions and 24 deletions

View File

@@ -51,7 +51,7 @@ Rectangle {
signal selectedEventChanged(int eventId)
property bool lockItemSelection : false
property variant mainviewTimePerPixel : 0
property real mainviewTimePerPixel : 0
signal updateCursorPosition
property string fileName: ""
@@ -62,8 +62,8 @@ Rectangle {
property bool selectionRangeMode: false
property bool selectionRangeReady: selectionRange.ready
property variant selectionRangeStart: selectionRange.startTime
property variant selectionRangeEnd: selectionRange.startTime + selectionRange.duration
property real selectionRangeStart: selectionRange.startTime
property real selectionRangeEnd: selectionRange.startTime + selectionRange.duration
signal changeToolTip(string text)
signal updateVerticalScroll(int newPosition)
@@ -410,7 +410,7 @@ Rectangle {
width: flick.width
height: root.height
property variant startX: 0
property real startX: 0
onStartXChanged: {
var newStartTime = Math.round(startX * (endTime - startTime) / flick.width) +
qmlProfilerModelProxy.traceStartTime();