Commit 5f53cc41 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlProfiler: Event details stay when mouseExit

Change-Id: I506eb085f0c2bf1970c9a56d2838f94931bce1f0
Reviewed-on: http://codereview.qt.nokia.com/489

Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent 04ef73a9
......@@ -158,6 +158,20 @@ Rectangle {
clip:true
MouseArea {
width: flick.width
height: flick.contentHeight
x: flick.contentX
onClicked: {
rangeDetails.visible = false
rangeDetails.duration = ""
rangeDetails.label = ""
rangeDetails.type = ""
rangeDetails.file = ""
rangeDetails.line = -1
}
}
TimelineView {
id: view
......@@ -232,12 +246,6 @@ Rectangle {
}
onExited: {
myColor = baseColor
rangeDetails.visible = false
rangeDetails.duration = ""
rangeDetails.label = ""
rangeDetails.type = ""
rangeDetails.file = ""
rangeDetails.line = -1
}
onClicked: root.gotoSourceLocation(rangeDetails.file, rangeDetails.line);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment