Commit 584df4d8 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlProfiler: fix rendering bug on bottom shadow



When resetting data, the variable that tracks vertical scroll
on the qml side could go out of sync with the scroll bar.
Fixed by resetting both scrollbar and variable at reset.

Change-Id: I3a130192d460568c44de815d71aa6290c311c89a
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent eca36a23
......@@ -395,6 +395,9 @@ void TraceWindow::clearDisplay()
m_zoomControl.data()->setRange(0,0);
m_profiledTime = 0;
updateVerticalScroll(0);
m_mainView->rootObject()->setProperty("scrollY", QVariant(0));
emit internalClearDisplay();
}
......
Markdown is supported
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