summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler
diff options
context:
space:
mode:
authorChristiaan Janssen <christiaan.janssen@nokia.com>2011-04-07 09:54:42 +0200
committerChristiaan Janssen <christiaan.janssen@nokia.com>2011-04-08 13:35:38 +0200
commitd5ad4e8dd4873c78687a67815c172e6f0db8f621 (patch)
treedeccb8633afea6435025b69caf191e0ef93cdee8 /src/plugins/qmlprofiler
parent2074ec8a358c3733d20269fbc6d4e4514ac1306a (diff)
downloadqt-creator-d5ad4e8dd4873c78687a67815c172e6f0db8f621.tar.gz
QmlProfiler: reset timer on clear output
Reviewed-by: Kai Koehne
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r--src/plugins/qmlprofiler/qml/MainView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml
index e2128d1187..a747c6c8fb 100644
--- a/src/plugins/qmlprofiler/qml/MainView.qml
+++ b/src/plugins/qmlprofiler/qml/MainView.qml
@@ -98,6 +98,8 @@ Rectangle {
Plotter.valuesdone = false;
canvas.requestPaint();
view.visible = false;
+ root.elapsedTime = 0;
+ root.updateTimer();
}
}