diff --git a/src/plugins/qmlprofiler/qml/CategoryLabel.qml b/src/plugins/qmlprofiler/qml/CategoryLabel.qml index 961387fc926aeb827f60dc1312c2383976fcff3d..95232dd6921418de5ed852477b4ca80a75c8b9dc 100644 --- a/src/plugins/qmlprofiler/qml/CategoryLabel.qml +++ b/src/plugins/qmlprofiler/qml/CategoryLabel.qml @@ -56,7 +56,6 @@ Item { function getDescriptions() { bindingTrigger = -bindingTrigger; - backgroundMarks.requestPaint(); if (!visible) return; diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml index aea2a60fcc2550b2f14df8be7f505aa029e9b1b4..2ab99e15c2da6331f845d1daf8c80fc7358e7dad 100644 --- a/src/plugins/qmlprofiler/qml/MainView.qml +++ b/src/plugins/qmlprofiler/qml/MainView.qml @@ -80,6 +80,7 @@ Rectangle { // Clear if model is empty. if (qmlProfilerModelProxy.getState() === 0) root.clear(); + backgroundMarks.requestPaint() } onDataAvailable: { view.clearData(); @@ -88,6 +89,8 @@ Rectangle { qmlProfilerModelProxy.traceDuration()/10); view.requestPaint(); } + onExpandedChanged: backgroundMarks.requestPaint() + onRowHeightChanged: backgroundMarks.requestPaint() }