QmlProfiler: fixed sorting of "event type" field

Change-Id: Ibaa321c65f44c4ca9c87bb312659173bb2f26d64
Reviewed-on: http://codereview.qt.nokia.com/2634
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-08-04 15:56:09 +02:00
parent dc8a0fe42e
commit 77f0176368

View File

@@ -448,7 +448,7 @@ void QmlProfilerEventsView::QmlProfilerEventsViewPrivate::buildModelFromList( co
if (m_fieldShown[Type]) { if (m_fieldShown[Type]) {
newRow << new EventsViewItem(nameForType(binding->eventType)); newRow << new EventsViewItem(nameForType(binding->eventType));
newRow.last()->setData(QVariant(binding->eventType)); newRow.last()->setData(QVariant(nameForType(binding->eventType)));
} }
if (m_fieldShown[Percent]) { if (m_fieldShown[Percent]) {