Commit f054d0dc authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlProfiler: fixed sorting of percentage column

Change-Id: Ic76135e2e401ee028a986f1f57186cb2144ed40a
Reviewed-on: http://codereview.qt.nokia.com/1755

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent 5705cd99
......@@ -444,7 +444,7 @@ void QmlProfilerEventsView::QmlProfilerEventsViewPrivate::buildModelFromList( co
if (m_fieldShown[Percent]) {
newRow << new EventsViewItem(QString::number(binding->percentOfTime,'f',2)+QLatin1String(" %"));
newRow.last()->setData(QVariant(binding->eventType));
newRow.last()->setData(QVariant(binding->percentOfTime));
}
if (m_fieldShown[TotalDuration]) {
......
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