OSDN Git Service

QmlProfiler: correctly displaying status when recording disabled
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 25 Jul 2011 14:16:09 +0000 (16:16 +0200)
committerChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 25 Jul 2011 15:16:58 +0000 (17:16 +0200)
commit5003e78befc3a37089893be78cbe61bcc8c66ee4
tree1f266257703de56b70dbf0d0101e60ad3b34fb78
parent84743eff4648c14208e9c21259c7c5584fad609f
QmlProfiler: correctly displaying status when recording disabled

Each time a new profiling session is started, the root component
is reloaded.  If Plotter.ranges contains data, which might be
the case when not recording, the count in the root item should
not be reset to 0, and the dataAvailable flag stay to true.

Change-Id: I2a34e30a4ae7179d3675b62792dcae7b9eba0462
Reviewed-on: http://codereview.qt.nokia.com/2118
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
src/plugins/qmlprofiler/qml/MainView.qml
src/plugins/qmlprofiler/tracewindow.cpp