Commit 85b7d34e authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: When clearing, set the trace duration to 0



That is what the code in the main view expects of an empty trace and
it's also logically more coherent.

Task-number: QTCREATORBUG-11833
Change-Id: I78b90ca5332bfb004cabbb32c4eb3e7e83fd7187
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 7d23ee71
......@@ -113,7 +113,7 @@ qint64 QmlProfilerTraceTime::duration() const
void QmlProfilerTraceTime::clear()
{
m_startTime = -1;
m_endTime = 0;
m_endTime = -1;
}
void QmlProfilerTraceTime::setStartTime(qint64 time)
......
Supports Markdown
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