forked from qt-creator/qt-creator
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:
@@ -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]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user