summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qml/MainView.qml
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@digia.com>2013-09-03 12:56:29 +0200
committerKai Koehne <kai.koehne@digia.com>2013-09-18 10:37:33 +0200
commitc9a851c64993412d5a10bef9e6ab324fe5b4d974 (patch)
tree5358a5d80dc6c8c5c0da94486ad18055f77896e5 /src/plugins/qmlprofiler/qml/MainView.qml
parenta2d771b41e4ce604550b1bf5ba96cc07f40c3b72 (diff)
downloadqt-creator-c9a851c64993412d5a10bef9e6ab324fe5b4d974.tar.gz
QmlProfiler: Avoid generic property types in QML
Change-Id: I4dddf19d37004f59bfbe75b45e0b626bf1563fa2 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qml/MainView.qml')
-rw-r--r--src/plugins/qmlprofiler/qml/MainView.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml
index 4f5a9e7de5..82a77d6bcc 100644
--- a/src/plugins/qmlprofiler/qml/MainView.qml
+++ b/src/plugins/qmlprofiler/qml/MainView.qml
@@ -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();