aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofiler/qml/RangeDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/qmlprofiler/qml/RangeDetails.qml')
-rw-r--r--plugins/qmlprofiler/qml/RangeDetails.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/qmlprofiler/qml/RangeDetails.qml b/plugins/qmlprofiler/qml/RangeDetails.qml
index c066b06bde1..a0fb3e8d779 100644
--- a/plugins/qmlprofiler/qml/RangeDetails.qml
+++ b/plugins/qmlprofiler/qml/RangeDetails.qml
@@ -196,7 +196,7 @@ Item {
drag.maximumY: root.candidateHeight - parent.height + yoffset
onClicked: {
root.gotoSourceLocation(file, line, column);
- root.recenterOnItem(view.selectedItem);
+ root.recenterOnItem(view.selectedModel, view.selectedItem);
}
}