diff options
author | Ulf Hermann <[email protected]> | 2014-03-25 17:10:25 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2014-03-31 10:39:52 +0200 |
commit | 0c9a9348f9fb8b464472262cb17624ebc55d7b87 (patch) | |
tree | bb2ab6dbbb74b4e15a4123894c657d02c83b92be /src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp | |
parent | 85b7d34ea80019c8d2e37c100c81ae26facfda9c (diff) |
QmlProfiler: Consistently clear when clear button pressed
Several QML properties need extra treatment to avoid stale data
after clearing. Toggling the visibility of the timeline renderer
doesn't really help there.
Task-number: QTCREATORBUG-11833
Change-Id: I1903d7bd69d6fe31ecc4cadca8e30fa2104fa09a
Reviewed-by: Christian Stenger <[email protected]>
Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp index ffb93897116..0f937b76911 100644 --- a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp @@ -170,7 +170,7 @@ void QmlProfilerViewManager::getStatisticsInRange(qint64 rangeStart, qint64 rang void QmlProfilerViewManager::clear() { - d->traceView->clearDisplay(); + d->traceView->clear(); d->eventsView->clear(); d->v8profilerView->clear(); } |