forked from qt-creator/qt-creator
QmlProfiler: Change statistics view labels
They should bei in line with how we call the event types in other places. Change-Id: Id6a5a42bdf745d6827deeca713a0e78c5fae4783 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -645,11 +645,11 @@ QStandardItem *QmlProfilerStatisticsMainView::itemFromIndex(const QModelIndex &i
|
||||
QString QmlProfilerStatisticsMainView::nameForType(RangeType typeNumber)
|
||||
{
|
||||
switch (typeNumber) {
|
||||
case Painting: return QmlProfilerStatisticsMainView::tr("Paint");
|
||||
case Compiling: return QmlProfilerStatisticsMainView::tr("Compile");
|
||||
case Creating: return QmlProfilerStatisticsMainView::tr("Create");
|
||||
case Painting: return QmlProfilerStatisticsMainView::tr("Painting");
|
||||
case Compiling: return QmlProfilerStatisticsMainView::tr("Compiling");
|
||||
case Creating: return QmlProfilerStatisticsMainView::tr("Creating");
|
||||
case Binding: return QmlProfilerStatisticsMainView::tr("Binding");
|
||||
case HandlingSignal: return QmlProfilerStatisticsMainView::tr("Signal");
|
||||
case HandlingSignal: return QmlProfilerStatisticsMainView::tr("Handling Signal");
|
||||
case Javascript: return QmlProfilerStatisticsMainView::tr("JavaScript");
|
||||
default: return QString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user